SecurityBindingElement.GetProperty<T>(BindingContext) メソッド

定義

指定した 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

取得するプロパティ。

パラメーター

返品

T

BindingContextから指定されたオブジェクト。オブジェクトが見つからない場合はnull

注釈

このメソッドは、指定したオブジェクトを基底クラスから取得するか、そのクラスのいずれかの先祖から取得します。 通常、返されるオブジェクトはプロパティのコレクションです。たとえば、 ISecurityCapabilitiesを実装するオブジェクトです。

SecurityBindingElementは、要求されたプロパティの型を認識しない場合、その下のバインド要素スタックへの呼び出しを委任し、バインド コンテキスト パラメーターを渡します。 SecurityBindingElementが提供できるプロパティの種類は、ISecurityCapabilitiesIdentityVerifier

適用対象