語言

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。

備註

此方法提供從元件擷取能力與保護需求的功能。

適用於