Compartilhar via


OperationBase.UserState Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets the optional user state for this operation.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public ReadOnly Property UserState As Object
    Get
'Usage
Dim instance As OperationBase
Dim value As Object

value = instance.UserState
public Object UserState { get; }
public:
property Object^ UserState {
    Object^ get ();
}
member UserState : Object
function get UserState () : Object

Property Value

Type: System.Object
The user state for this operation, or nulla null reference (Nothing in Visual Basic) if the user state is not specified.

See Also

Reference

OperationBase Class

System.ServiceModel.DomainServices.Client Namespace