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.
NamedPipeTransportBindingElement::GetProperty<T> Method (BindingContext^)
.NET Framework (current version)
Gets a specified object from the BindingContext.
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^
Return Value
Type: TThe specified object from the BindingContext, or null if the object isn't found.
Type Parameters
- T
The object to get.
This method gets the specified object from the base class, or from one of that class's ancestors. The object returned is usually a collection of properties, for example an object that implements ISecurityCapabilities.
This example shows how to get a specified object from the BindingContext:
.NET Framework
Available since 3.0
Available since 3.0
Show: