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.

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

 

Gets a specified object using the specified BindingContext.

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

Return Value

Type: T

The specified object from the BindingContext or null if the object is not found.

Type Parameters

T

The property 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.

If the SecurityBindingElement does not recognize the type of property requested, it delegates the call to the binding element stack below it, passing the binding context parameter. The types of properties that the SecurityBindingElement can provide are ISecurityCapabilities and IdentityVerifier.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft