Table of Contents

Class Reset

Namespace
Dynamicweb.Frontend
Assembly
Dynamicweb.dll
Class that contains function to restart/refresh the website frontend. The Cache object that holds the Page, Area Style etc. are or can be deleted, forcing the Application to reload them.
[Obsolete("Dont use this", true)]
public sealed class Reset
Inheritance
Reset
Inherited Members

Examples

  'Call the function without initialization
             Dynamicweb.Frontend.Reset.ResetHash(Frontend.Reset.HashType.All)

Methods

ResetHash(HashType)

Deletes the Cache objects that holds the ether Page, Area, Style etc or Deletes All objects . An Enum value of the HashType Enum type
[Obsolete("Marker only. This does nothing.", true)]
public static void ResetHash(Reset.HashType enumHashType)

Parameters

enumHashType Reset.HashType
An Enum value of the HashType Enum type indicating what frontend cache object to delete

ResetHash(HashType, bool)

Deletes the Cache objects that holds the ether Page, Area, Style etc or Deletes All objects . An Enum value of the HashType Enum type
[Obsolete("Marker only. This does nothing.", true)]
public static void ResetHash(Reset.HashType enumHashType, bool Force)

Parameters

enumHashType Reset.HashType
An Enum value of the HashType Enum type indicating what frontend cache object to delete
Force bool
Forces an update even if settings in management center says differently.
To top