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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기