DiscoveryClientBindingElement.GetProperty<T>(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

バインド コンテキスト。

戻り値

T

指定された型のオブジェクトが存在する場合はそのオブジェクト。それ以外の場合は null

適用対象