SecurityBindingElement.GetProperty<T>(BindingContext) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した BindingContextを使用して、指定したオブジェクトを取得します。
public:
generic <typename T>
where T : class override T GetProperty(System::ServiceModel::Channels::BindingContext ^ context);
public override T GetProperty<T>(System.ServiceModel.Channels.BindingContext context) where T : class;
override this.GetProperty : System.ServiceModel.Channels.BindingContext -> 'T (requires 'T : null)
Public Overrides Function GetProperty(Of T As Class) (context As BindingContext) As T
型パラメーター
- T
取得するプロパティ。
パラメーター
- context
- BindingContext
返品
BindingContextから指定されたオブジェクト。オブジェクトが見つからない場合はnull。
注釈
このメソッドは、指定したオブジェクトを基底クラスから取得するか、そのクラスのいずれかの先祖から取得します。 通常、返されるオブジェクトはプロパティのコレクションです。たとえば、 ISecurityCapabilitiesを実装するオブジェクトです。
SecurityBindingElementは、要求されたプロパティの型を認識しない場合、その下のバインド要素スタックへの呼び出しを委任し、バインド コンテキスト パラメーターを渡します。
SecurityBindingElementが提供できるプロパティの種類は、ISecurityCapabilitiesとIdentityVerifier。