ContextBindingElement.GetProperty<T>(BindingContext) Metoda
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Zwraca wpisany obiekt z określonym kontekstem z odpowiedniej warstwy w stosie kanału.
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
Typowany obiekt, dla którego wykonuje zapytanie w metodzie.
Parametry
- context
- BindingContext
Określony BindingContext .
Zwraca
Żądany obiekt T wpisany, jeśli jest obecny.
Wyjątki
context to null.