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)
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)
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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za