DiscoveryClientBindingElement.GetProperty<T>(BindingContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若綁定堆疊中有物件,則回傳請求型態的物件。
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為 。