Share via


ContextBindingElement.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

指定された BindingContext

戻り値

T

要求される、型指定された T オブジェクト (ある場合)。

例外

contextnull です。

適用対象