语言

ReliableSessionBindingElement.GetProperty<T>(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通道所需的信息。

返回

T

具有指定T类型context或null找不到类型属性的类型T的属性。

适用于