ContextMessageProperty.TryCreateFromHttpCookieHeader メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した HTTP Cookie のキーと値のペアから ContextMessageProperty をインスタンス化しようとします。
public:
static bool TryCreateFromHttpCookieHeader(System::String ^ httpCookieHeader, [Runtime::InteropServices::Out] System::ServiceModel::Channels::ContextMessageProperty ^ % context);
public static bool TryCreateFromHttpCookieHeader(string httpCookieHeader, out System.ServiceModel.Channels.ContextMessageProperty context);
static member TryCreateFromHttpCookieHeader : string * ContextMessageProperty -> bool
Public Shared Function TryCreateFromHttpCookieHeader (httpCookieHeader As String, ByRef context As ContextMessageProperty) As Boolean
パラメーター
- httpCookieHeader
- String
contextプロパティ値の初期化元となる HTTP Cookie ヘッダーの名前。
- context
- ContextMessageProperty
このメソッドがtrueを返す場合、contextには、ContextMessagePropertyに関連付けられているContextMessagePropertyを含むhttpCookieHeaderが含まれます。 このパラメーターは初期化せずに渡されます。
返品
true
ContextMessagePropertyからhttpCookieHeaderの値を取得する場合は。それ以外の場合はfalse。
例外
httpCookieHeader は nullです。