DomainServiceContext Class

WCF RIA Services

[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.]

Represents the execution environment for the operations performed by a DomainService.

System.Object
  System.ServiceModel.DomainServices.Server.DomainServiceContext

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

public class DomainServiceContext : IServiceProvider

The DomainServiceContext type exposes the following members.

  NameDescription
Public methodDomainServiceContextInitializes a new instance of the DomainServiceContext class.
Top

  NameDescription
Public propertyOperationGets the operation that is being executed.
Public propertyOperationTypeGets the type of operation that is being executed.
Public propertyUserGets the user for this context instance.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetServiceGets the service object of the specified type.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: