WebMessageEncodingBindingElement::GetProperty<T> Method (BindingContext^)
Returns the object of the type requested, if present, from the appropriate layer in the channel stack, or null if it is not present.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
public: generic<typename T> where T : ref class virtual T GetProperty( BindingContext^ context ) override
Parameters
- context
-
Type:
System.ServiceModel.Channels::BindingContext^
The BindingContext for the current binding element.
Return Value
Type: TThe typed object T requested if it is present or null if it is not.
Type Parameters
- T
The typed object for which the method is querying.
| Exception | Condition |
|---|---|
| ArgumentNullException | 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.
Available since 3.5