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属性中的属性。

适用于