SendActivity.GetContext メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
クライアントと通信しているサービスとの間の通信に使用されるコンテキスト (関連付けの識別など) を含むディクショナリを返します。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetContext(Activity, ChannelToken, Type) |
送信操作のコンテキスト情報を取得または設定します。 |
| GetContext(Activity, String, String, Type) |
アクティビティ インスタンス、そのアクティビティで使用されるエンドポイント名、所有者アクティビティの名前、コントラクトの型を表す Type オブジェクトを指定してコンテキスト情報を返す静的メソッド。 |
注釈
コンテキスト情報は、クライアントと通信しているサービス間の通信に使用され、相関関係の識別などが含まれます。
GetContext(Activity, ChannelToken, Type)
送信操作のコンテキスト情報を取得または設定します。
public:
static System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ GetContext(System::Workflow::ComponentModel::Activity ^ activity, System::Workflow::Activities::ChannelToken ^ endpoint, Type ^ contractType);
public static System.Collections.Generic.IDictionary<string,string> GetContext(System.Workflow.ComponentModel.Activity activity, System.Workflow.Activities.ChannelToken endpoint, Type contractType);
static member GetContext : System.Workflow.ComponentModel.Activity * System.Workflow.Activities.ChannelToken * Type -> System.Collections.Generic.IDictionary<string, string>
Public Shared Function GetContext (activity As Activity, endpoint As ChannelToken, contractType As Type) As IDictionary(Of String, String)
パラメーター
- activity
- Activity
コンテキスト情報が必要なアクティビティ。
- endpoint
- ChannelToken
サービスとの関連付けのエンドポイント情報。
返品
XmlQualifiedName キーとそれに関連付けられているString値を含むディクショナリ ベースのコレクション。
注釈
コンテキスト情報は、クライアントと通信しているサービス間の通信に使用され、相関関係の識別などが含まれます。
適用対象
GetContext(Activity, String, String, Type)
アクティビティ インスタンス、そのアクティビティで使用されるエンドポイント名、所有者アクティビティの名前、コントラクトの型を表す Type オブジェクトを指定してコンテキスト情報を返す静的メソッド。
public:
static System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ GetContext(System::Workflow::ComponentModel::Activity ^ activity, System::String ^ endpointName, System::String ^ ownerActivityName, Type ^ contractType);
public static System.Collections.Generic.IDictionary<string,string> GetContext(System.Workflow.ComponentModel.Activity activity, string endpointName, string ownerActivityName, Type contractType);
static member GetContext : System.Workflow.ComponentModel.Activity * string * string * Type -> System.Collections.Generic.IDictionary<string, string>
Public Shared Function GetContext (activity As Activity, endpointName As String, ownerActivityName As String, contractType As Type) As IDictionary(Of String, String)
パラメーター
- activity
- Activity
コンテキスト情報が必要なアクティビティ。
- endpointName
- String
サービスとの関連付けに使用されるエンドポイントの名前。
- ownerActivityName
- String
所有しているアクティビティの名前。
返品
XmlQualifiedName キーとそれに関連付けられているString値を含むディクショナリ ベースのコレクション。
注釈
コンテキスト情報は、クライアントと通信しているサービス間の通信に使用され、相関関係の識別などが含まれます。