Bewerken

Share via


LosFormatter Constructors

Definition

Initializes a new instance of the LosFormatter class.

Overloads

LosFormatter()

Initializes a new instance of the LosFormatter class using default values.

LosFormatter(Boolean, Byte[])

Initializes a new instance of the LosFormatter class using the specified enable flag and machine authentication code (MAC) key modifier.

LosFormatter(Boolean, String)

Initializes a new instance of the LosFormatter class using the specified enable flag and machine authentication code (MAC) key modifier.

LosFormatter()

Initializes a new instance of the LosFormatter class using default values.

public:
 LosFormatter();
public LosFormatter ();
Public Sub New ()

Applies to

LosFormatter(Boolean, Byte[])

Initializes a new instance of the LosFormatter class using the specified enable flag and machine authentication code (MAC) key modifier.

public:
 LosFormatter(bool enableMac, cli::array <System::Byte> ^ macKeyModifier);
public LosFormatter (bool enableMac, byte[] macKeyModifier);
new System.Web.UI.LosFormatter : bool * byte[] -> System.Web.UI.LosFormatter
Public Sub New (enableMac As Boolean, macKeyModifier As Byte())

Parameters

enableMac
Boolean

true to enable view-state MAC; otherwise, false.

macKeyModifier
Byte[]

The modifier for the MAC key.

Applies to

LosFormatter(Boolean, String)

Initializes a new instance of the LosFormatter class using the specified enable flag and machine authentication code (MAC) key modifier.

public:
 LosFormatter(bool enableMac, System::String ^ macKeyModifier);
public LosFormatter (bool enableMac, string macKeyModifier);
new System.Web.UI.LosFormatter : bool * string -> System.Web.UI.LosFormatter
Public Sub New (enableMac As Boolean, macKeyModifier As String)

Parameters

enableMac
Boolean

true to enable view-state MAC; otherwise, false.

macKeyModifier
String

The modifier for the MAC key.

Applies to