ConnectionOrientedTransportBindingElement::GetProperty<T> Method (BindingContext^)
.NET Framework (current version)
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 binding context.
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, 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 run-time objects such as IChannelFactory, IChannelListener, and IChannel.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: