Compartilhar via


AuthenticationDomainContextBase Class

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

Provides the domain context generated as the base class for providers implementing IAuthentication<T>.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Client.DomainContext
    System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationDomainContextBase

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

Syntax

'Declaration
<DomainIdentifierAttribute("Authentication", IsApplicationService := True)> _
Public MustInherit Class AuthenticationDomainContextBase _
    Inherits DomainContext
'Usage
Dim instance As AuthenticationDomainContextBase
[DomainIdentifierAttribute("Authentication", IsApplicationService = true)]
public abstract class AuthenticationDomainContextBase : DomainContext
[DomainIdentifierAttribute(L"Authentication", IsApplicationService = true)]
public ref class AuthenticationDomainContextBase abstract : public DomainContext
[<AbstractClassAttribute>]
[<DomainIdentifierAttribute("Authentication", IsApplicationService = true)>]
type AuthenticationDomainContextBase =  
    class
        inherit DomainContext
    end
public abstract class AuthenticationDomainContextBase extends DomainContext

The AuthenticationDomainContextBase type exposes the following members.

Constructors

  Name Description
Protected method AuthenticationDomainContextBase Initializes a new instance of the AuthenticationDomainContextBase class.

Top

Properties

  Name Description
Public property DomainClient Gets the DomainClient for this context. (Inherited from DomainContext.)
Public property EntityContainer Gets the EntityContainer holding all entities loaded by this context. (Inherited from DomainContext.)
Public property HasChanges Gets a value indicating whether this context has any pending changes. (Inherited from DomainContext.)
Public property IsLoading Gets a value indicating whether this DomainContext is currently performing a load operation. (Inherited from DomainContext.)
Public property IsSubmitting Gets a value indicating whether this DomainContext is currently performing a submit operation. (Inherited from DomainContext.)
Public property ValidationContext Gets or sets the Silverlight ValidationContext to use for all validation operations invoked by the DomainContext. (Inherited from DomainContext.)

Top

Methods

  Name Description
Public method AddReference Adds a reference to an external DomainContext. (Inherited from DomainContext.)
Protected method CreateEntityContainer Creates and returns an entity container configured with EntitySet objects for all entities this DomainContext will provide access to. (Inherited from DomainContext.)
Protected method CreateQuery<TEntity> Creates an EntityQuery. (Inherited from DomainContext.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method InvokeOperation(String, Type, IDictionary<String, Object>, Boolean, Action<InvokeOperation>, Object) Executes an invoke operation. (Inherited from DomainContext.)
Public method InvokeOperation<TValue>(String, Type, IDictionary<String, Object>, Boolean, Action<InvokeOperation<TValue>>, Object) Executes an invoke operation. (Inherited from DomainContext.)
Public method Load(EntityQuery, LoadBehavior, Action<LoadOperation>, Object) Initiates a load operation for the specified query with the specified load behavior, callback method, and user state. (Inherited from DomainContext.)
Public method Load<TEntity>(EntityQuery<TEntity>) Initiates a load operation for the specified query. (Inherited from DomainContext.)
Public method Load<TEntity>(EntityQuery<TEntity>, Boolean) Initiates a load operation for the specified query with the specified value indicating whether an error results in an exception. (Inherited from DomainContext.)
Public method Load<TEntity>(EntityQuery<TEntity>, Action<LoadOperation<TEntity>>, Object) Initiates a load operation for the specified query with the specified callback method, and user state. (Inherited from DomainContext.)
Public method Load<TEntity>(EntityQuery<TEntity>, LoadBehavior, Boolean) Initiates a load operation for the specified query with the specified load behavior, and value indicating whether an error results in an exception. (Inherited from DomainContext.)
Public method Load<TEntity>(EntityQuery<TEntity>, LoadBehavior, Action<LoadOperation<TEntity>>, Object) Initiates a load operation for the specified query with the specified load behavior, callback method, and user state. (Inherited from DomainContext.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method RaisePropertyChanged Raises the PropertyChanged event for the specified property. (Inherited from DomainContext.)
Public method RejectChanges Reverts all pending changes for this DomainContext. (Inherited from DomainContext.)
Public method SubmitChanges() Submits all pending changes to the domain service. (Inherited from DomainContext.)
Public method SubmitChanges(Action<SubmitOperation>, Object) Submits all pending changes to the domain service. (Inherited from DomainContext.)
Public method ToString (Inherited from Object.)
Protected method ValidateMethod Validates a method call. (Inherited from DomainContext.)

Top

Events

  Name Description
Public event PropertyChanged Raised whenever a DomainContext property changes. (Inherited from DomainContext.)

Top

Thread Safety

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

See Also

Reference

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace