HostExecutionContext 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 HostExecutionContext class.
Overloads
HostExecutionContext() |
Initializes a new instance of the HostExecutionContext class. |
HostExecutionContext(Object) |
Initializes a new instance of the HostExecutionContext class using the specified state. |
HostExecutionContext()
- Source:
- HostExecutionContext.cs
- Source:
- HostExecutionContext.cs
- Source:
- HostExecutionContext.cs
Initializes a new instance of the HostExecutionContext class.
public:
HostExecutionContext();
public HostExecutionContext ();
Public Sub New ()
Remarks
The parameterless constructor creates a host execution context whose State property value is null
.
Applies to
HostExecutionContext(Object)
- Source:
- HostExecutionContext.cs
- Source:
- HostExecutionContext.cs
- Source:
- HostExecutionContext.cs
Initializes a new instance of the HostExecutionContext class using the specified state.
public:
HostExecutionContext(System::Object ^ state);
public HostExecutionContext (object? state);
public HostExecutionContext (object state);
new System.Threading.HostExecutionContext : obj -> System.Threading.HostExecutionContext
Public Sub New (state As Object)
Parameters
- state
- Object
An object representing the host execution context state.
Remarks
The HostExecutionContext is included with the ExecutionContext. The state
represents a safe handle containing the IUnknown
pointer for the host.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應