WCF-Xtensions Class Reference for .NET
GetProperty<T> Method (JsonRpcMessageEncodingBindingElement)






The typed object for which the method is querying.

The BindingContext for the binding element.

Returns a typed object requested, if present, from the appropriate layer in the binding element stack.
Syntax
public override T GetProperty<T>( 
   System.ServiceModel.Channels.BindingContext context
)
where T: class
public function GetProperty( 
    context: System.ServiceModel.Channels.BindingContext
): T; override; 
public override function GetProperty( 
   context : System.ServiceModel.Channels.BindingContext
) : T;
public: T* GetProperty<T>( 
   System.ServiceModel.Channels.BindingContext* context
) override 
where T: ref class
public:
T^ GetPropertygeneric<typename T>
( 
   System.ServiceModel.Channels.BindingContext^ context
) override 
where T: ref class
'Declaration
 
Public Overrides Function GetProperty(Of T As Class)( _
   ByVal context As System.ServiceModel.Channels.BindingContext _
) As T
 
'Usage
 
Dim instance As JsonRpcMessageEncodingBindingElement
Dim context As System.ServiceModel.Channels.BindingContext
Dim value As T
 
value = instance.GetProperty(Of T)(context)

Parameters

context

The BindingContext for the binding element.

Type Parameters

T
The typed object for which the method is querying.

Return Value

The typed object T requested if it is present or a null reference (Nothing in Visual Basic) if it is not.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JsonRpcMessageEncodingBindingElement Class
JsonRpcMessageEncodingBindingElement Members
Base Implementation in GetProperty<T>

Send Feedback