AxHost.State Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- Source:
- AxHost.State.cs
- Source:
- AxHost.State.cs
- Source:
- AxHost.State.cs
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
- info
- SerializationInfo
A SerializationInfo value.
- context
- StreamingContext
A StreamingContext value.
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)
- Source:
- AxHost.State.cs
- Source:
- AxHost.State.cs
- Source:
- AxHost.State.cs
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
- 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
.NET