语言

TransportSecurityBindingElement.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 或 null 找不到对象时的属性。

注解

此方法从基类或该类的上级之一获取指定对象。 返回的对象通常是属性的集合,例如实现 ISecurityCapabilities的对象。

适用于