HttpCookieContainerBindingElement.GetProperty<T>(BindingContext) Metoda

Definicja

Zwraca żądany obiekt typu, jeśli jest obecny, z odpowiedniej warstwy w stosie powiązań.

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 obiektu, dla którego Metoda wykonuje zapytanie.

Parametry

context
BindingContext

Kontekst powiązania dla elementu Binding.

Zwraca

T

Obiekt z określonym typem T żądany, jeśli jest obecny, lub Nothing Jeśli nie jest obecny.

Dotyczy