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.

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

.NET Framework (current version)
 

Returns an object of the requested type, if present in the binding stack.

Namespace:   System.ServiceModel.Discovery
Assembly:  System.ServiceModel.Discovery (in System.ServiceModel.Discovery.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

An object of the specified type if present, otherwise null.

Type Parameters

T

The type of object to retrieve.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft