MsmqBindingElementBase.GetProperty<T> Method (BindingContext)

 

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

Parameters

context
Type: System.ServiceModel.Channels.BindingContext

The BindingContext for the binding element.

Return Value

Type: T

The object of type T.

Type Parameters

T

The type of property.

Exception Condition
ArgumentNullException

The context is null.

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

.NET Framework
Available since 3.0
Return to top
Show: