Export (0) Print
Expand All

WebMessageEncodingBindingElement.GetProperty<T> Method

Returns the object of the type requested, if present, from the appropriate layer in the channel stack, or null if it is not present.

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

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

Type Parameters


The typed object for which the method is querying.


Type: System.ServiceModel.Channels.BindingContext

The BindingContext for the current binding element.

Return Value

Type: T
The typed object T requested if it is present or null if it is not.


context set is null.

This override adds one property to the base GetProperty<T>(BindingContext) implementation: when T is XmlDictionaryReaderQuotas, the ReaderQuotas property is returned.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 3.5 SP1
© 2015 Microsoft