WebMessageEncodingBindingElement.GetProperty<T>(BindingContext) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
要求された型のオブジェクト (存在する場合) をチャネル スタック内の適切なレイヤーから返します。存在しない場合は null します。
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 存在する場合は要求され、存在しない場合は null 。
例外
context セットが null。
注釈
このオーバーライドにより、基本 GetProperty<T>(BindingContext) 実装に 1 つのプロパティが追加されます。 T が XmlDictionaryReaderQuotasされると、 ReaderQuotas プロパティが返されます。