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 override T GetProperty<T>(
	BindingContext context
)
where T : class

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: