編輯

共用方式為


PeerTransportBindingElement.GetProperty<T>(BindingContext) Method

Definition

Returns a property from the specified BindingContext object.

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 specific property to obtain from the binding context.

Parameters

context
BindingContext

BindingContext that specifies the binding context.

Returns

T

The property from the specified BindingContext.

Remarks

The following properties can be retrieved from PeerTransportBindingElement:

Applies to