編集

次の方法で共有


DiscoveryClientBindingElement.GetProperty<T>(BindingContext) Method

Definition

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

public:
generic <typename T>
 where T : class override T GetProperty(System::ServiceModel::Channels::BindingContext ^ context);
public override T GetProperty<T> (System.ServiceModel.Channels.BindingContext context) where T : class;
override this.GetProperty : System.ServiceModel.Channels.BindingContext -> 'T (requires 'T : null)
Public Overrides Function GetProperty(Of T As Class) (context As BindingContext) As T

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