Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConnectionOrientedTransportBindingElement::GetProperty<T> Method (BindingContext^)

 

Gets properties from the binding stack, if present.

Namespace:   System.ServiceModel.Channels
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: T

A 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
Return to top
Show:
© 2017 Microsoft