HttpTransportBindingElement.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

要获取的属性的类型。

参数

返回

T

取自指定 BindingContext 的属性。

适用于