Binding.GetProperty<T>(BindingParameterCollection) メソッド

定義

バインディング スタック内の適切なレイヤーから、要求された型指定されたオブジェクト (存在する場合) を返します。

public:
generic <typename T>
 where T : class T GetProperty(System::ServiceModel::Channels::BindingParameterCollection ^ parameters);
public T GetProperty<T>(System.ServiceModel.Channels.BindingParameterCollection parameters) where T : class;
member this.GetProperty : System.ServiceModel.Channels.BindingParameterCollection -> 'T (requires 'T : null)
Public Function GetProperty(Of T As Class) (parameters As BindingParameterCollection) As T

型パラメーター

T

メソッドがクエリを実行する型指定されたオブジェクト。

パラメーター

parameters
BindingParameterCollection

構築されるチャネル リスナーの要件を指定する BindingParameterCollection

返品

T

型指定されたオブジェクト T 存在する場合は要求され、存在しない場合は null

注釈

レイヤーが要求されたオブジェクトの返しをサポートしている場合は、それを返します。 そうでない場合は、呼び出しをスタック内の次のレイヤーに委任します。 スタックの一番下に到達し、要求されたオブジェクトをサポートするレイヤーがない場合、メソッドは nullを返します。

適用対象