OneWayBindingElement::GetProperty<T> Method (BindingContext^)
Gets properties from the binding stack, if present.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: generic<typename T> where T : ref class virtual T GetProperty( BindingContext^ context ) override
Parameters
- context
-
Type:
System.ServiceModel.Channels::BindingContext^
The BindingContext that provides context for the binding element.
Return Value
Type: TA T object from the binding stack, if present.
Type Parameters
- T
Type of the property.
This method receives a binding context as an input parameter, which represents the stack of binding elements.
Each binding element in the stack can handle the inquiry itself or delegate the inquiry, or a combination of the two. Each binding element can modify the context if it delegates the inquiry. However, a transport binding element handles the inquiry itself.
This method is implemented by binding elements as well as by the runtime objects, such as IChannelFactory, IChannelListener, and IChannel.
Available since 3.0