HttpsTransportBindingElement.GetProperty<T>(BindingContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 中取得指定的物件 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
傳回
T
如果找不到該物件,則是從 中指定BindingContextnull物件 ,
備註
此方法從基底類別取得指定物件,或該類別的祖先之一。 回傳的物件通常是一組屬性,例如實作 ISecurityCapabilities的物件。