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

指定した T での context 型のプロパティ。または、null 型のプロパティが見つからない場合は T

適用対象