Export (0) Print
Expand All

MsmqBindingElementBase.GetProperty<T> Method

When overridden in a derived class, retrieves a specified type of object for the binding context provided.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public override T GetProperty<T>(
	BindingContext context
)
where T : class

Type Parameters

T

The type of property.

Parameters

context
Type: System.ServiceModel.Channels.BindingContext

The BindingContext for the binding element.

Return Value

Type: T
The object of type T.

ExceptionCondition
ArgumentNullException

The context is null.

Provides the functionality to retrieve capabilities and protection requirements from the element.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft