PeerCustomResolverBindingElement.GetProperty<T>(BindingContext) 方法

定義

從指定的 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

來自指定之 BindingContext 的屬性。

適用於