RelayedOnewayTransportBindingElement.GetProperty<T> Method

Definition

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

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

Parameters

context
System.ServiceModel.Channels.BindingContext

The binding context that provides context for this binding element.

Returns

T

The object of the requested type if found; otherwise, returns null.

Applies to