C# 클래스 RIAServiceApplication.Web.AuthenticationContext

The DomainContext corresponding to the 'AuthenticationService' DomainService.
상속: global::System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationDomainContextBase
파일 보기 프로젝트 열기: KuduApps/RIAServicesApp

공개 메소드들

메소드 설명
AuthenticationContext ( ) : System

Initializes a new instance of the AuthenticationContext class.

AuthenticationContext ( DomainClient domainClient ) : System

Initializes a new instance of the AuthenticationContext class with the specified domainClient.

AuthenticationContext ( Uri serviceUri ) : System

Initializes a new instance of the AuthenticationContext class with the specified service URI.

GetUserQuery ( ) : EntityQuery

Gets an EntityQuery instance that can be used to load User entity instances using the 'GetUser' query.

LoginQuery ( string userName, string password, bool isPersistent, string customData ) : EntityQuery

Gets an EntityQuery instance that can be used to load User entity instances using the 'Login' query.

LogoutQuery ( ) : EntityQuery

Gets an EntityQuery instance that can be used to load User entity instances using the 'Logout' query.

보호된 메소드들

메소드 설명
CreateEntityContainer ( ) : EntityContainer

Creates a new EntityContainer for this DomainContext's EntitySets.

비공개 메소드들

메소드 설명
OnCreated ( ) : void

This method is invoked from the constructor once initialization is complete and can be used for further object setup.

메소드 상세

AuthenticationContext() 공개 메소드

Initializes a new instance of the AuthenticationContext class.
public AuthenticationContext ( ) : System
리턴 System

AuthenticationContext() 공개 메소드

Initializes a new instance of the AuthenticationContext class with the specified domainClient.
public AuthenticationContext ( DomainClient domainClient ) : System
domainClient DomainClient The DomainClient instance to use for this DomainContext.
리턴 System

AuthenticationContext() 공개 메소드

Initializes a new instance of the AuthenticationContext class with the specified service URI.
public AuthenticationContext ( Uri serviceUri ) : System
serviceUri System.Uri The AuthenticationService service URI.
리턴 System

CreateEntityContainer() 보호된 메소드

Creates a new EntityContainer for this DomainContext's EntitySets.
protected CreateEntityContainer ( ) : EntityContainer
리턴 EntityContainer

GetUserQuery() 공개 메소드

Gets an EntityQuery instance that can be used to load User entity instances using the 'GetUser' query.
public GetUserQuery ( ) : EntityQuery
리턴 EntityQuery

LoginQuery() 공개 메소드

Gets an EntityQuery instance that can be used to load User entity instances using the 'Login' query.
public LoginQuery ( string userName, string password, bool isPersistent, string customData ) : EntityQuery
userName string The value for the 'userName' parameter of the query.
password string The value for the 'password' parameter of the query.
isPersistent bool The value for the 'isPersistent' parameter of the query.
customData string The value for the 'customData' parameter of the query.
리턴 EntityQuery

LogoutQuery() 공개 메소드

Gets an EntityQuery instance that can be used to load User entity instances using the 'Logout' query.
public LogoutQuery ( ) : EntityQuery
리턴 EntityQuery