語言

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

一個具有約束力的背景。

傳回

T

來自指定的綁定上下文中的屬性。

適用於