Editar

Partilhar via


HostExecutionContext Constructors

Definition

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