DiscoveryClientBindingElement.GetProperty<T>(BindingContext) Method

Definition

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

C#
public override T GetProperty<T>(System.ServiceModel.Channels.BindingContext context) where T : class;

Type Parameters

T

The type of object to retrieve.

Parameters

context
BindingContext

The binding context.

Returns

T

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

Applies to

Produk Versi
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1