Uređivanje

Dijeli putem


AxHost.State Constructors

Definition

Initializes a new instance of the AxHost.State class.

Overloads

AxHost.State(SerializationInfo, StreamingContext)

Initializes a new instance of the AxHost.State class for deserializing a state.

AxHost.State(Stream, Int32, Boolean, String)

Initializes a new instance of the AxHost.State class for serializing a state.

AxHost.State(SerializationInfo, StreamingContext)

Initializes a new instance of the AxHost.State class for deserializing a state.

protected:
 State(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected State (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Forms.AxHost.State : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Forms.AxHost.State
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Remarks

Important

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Validate All Inputs.

Applies to

AxHost.State(Stream, Int32, Boolean, String)

Initializes a new instance of the AxHost.State class for serializing a state.

public:
 State(System::IO::Stream ^ ms, int storageType, bool manualUpdate, System::String ^ licKey);
public State (System.IO.Stream ms, int storageType, bool manualUpdate, string licKey);
public State (System.IO.Stream ms, int storageType, bool manualUpdate, string? licKey);
new System.Windows.Forms.AxHost.State : System.IO.Stream * int * bool * string -> System.Windows.Forms.AxHost.State
Public Sub New (ms As Stream, storageType As Integer, manualUpdate As Boolean, licKey As String)

Parameters

ms
Stream

A Stream in which the state is stored.

storageType
Int32

An Int32 indicating the storage type.

manualUpdate
Boolean

true for manual updates; otherwise, false.

licKey
String

The license key of the control.

Remarks

Important

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Validate All Inputs.

Applies to