MsmqBindingElementBase.GetProperty<T>(BindingContext) Metoda

Definicja

Po zastąpieniu w klasie pochodnej pobiera określony typ obiektu dla podanego kontekstu powiązania.

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

Parametry typu

T

Typ właściwości.

Parametry

context
BindingContext

Element BindingContext dla elementu powiązania.

Zwraca

T

Obiekt typu T.

Wyjątki

Kontekst to null.

Uwagi

Udostępnia funkcje pobierania możliwości i wymagań dotyczących ochrony z elementu.

Dotyczy