Share via


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

绑定上下文。

返回

T

一个 T 类型的对象。

例外

上下文为 null

注解

此方法可检索来自该元素的功能和保护要求。

适用于