HostExecutionContext クラス
定義
スレッド間でホストの実行コンテキストをカプセル化して反映させます。Encapsulates and propagates the host execution context across threads.
public ref class HostExecutionContext : IDisposable
public ref class HostExecutionContext
public class HostExecutionContext : IDisposable
public class HostExecutionContext
type HostExecutionContext = class
interface IDisposable
type HostExecutionContext = class
Public Class HostExecutionContext
Implements IDisposable
Public Class HostExecutionContext
- 継承
-
HostExecutionContext
- 実装
注釈
は、 HostExecutionContext より大きなの一部です ExecutionContext 。The HostExecutionContext is part of a larger ExecutionContext. ホストコンテキストは、実行コンテキストと共に、またはフローを移行します。The host context migrates, or flows, with the execution context.
コンストラクター
HostExecutionContext() |
HostExecutionContext クラスの新しいインスタンスを初期化します。Initializes a new instance of the HostExecutionContext class. |
HostExecutionContext(Object) |
状態を指定して、HostExecutionContext クラスの新しいインスタンスを初期化します。Initializes a new instance of the HostExecutionContext class using the specified state. |
プロパティ
State |
ホストの実行コンテキストの状態を取得または設定します。Gets or sets the state of the host execution context. |
メソッド
CreateCopy() |
現在のホストの実行コンテキストのコピーを作成します。Creates a copy of the current host execution context. |
Dispose() |
HostExecutionContext クラスの現在のインスタンスによって使用されているすべてのリソースを解放します。Releases all resources used by the current instance of the HostExecutionContext class. |
Dispose(Boolean) |
派生クラスでオーバーライドされると、WaitHandle によって使用されているアンマネージド リソースを解放し、オプションでマネージド リソースも解放します。When overridden in a derived class, releases the unmanaged resources used by the WaitHandle, and optionally releases the managed resources. |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。Determines whether the specified object is equal to the current object. (継承元 Object) |
GetHashCode() |
既定のハッシュ関数として機能します。Serves as the default hash function. (継承元 Object) |
GetType() |
現在のインスタンスの Type を取得します。Gets the Type of the current instance. (継承元 Object) |
MemberwiseClone() |
現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object. (継承元 Object) |
ToString() |
現在のオブジェクトを表す文字列を返します。Returns a string that represents the current object. (継承元 Object) |