AuthenticationService.EndLogout 메서드
비동기 Logout 작업을 끝냅니다.
네임스페이스: System.ServiceModel.DomainServices.Client.ApplicationServices
어셈블리: system.servicemodel.domainservices.client.dll의 System.ServiceModel.DomainServices.Client
사용법
‘사용 방법
Dim asyncResult As IAsyncResult
Dim returnValue As LogoutResult
returnValue = Me.EndLogout(asyncResult)
구문
‘선언
Protected Friend MustOverride Function EndLogout ( _
asyncResult As IAsyncResult _
) As LogoutResult
protected internal abstract LogoutResult EndLogout (
IAsyncResult asyncResult
)
protected public:
virtual LogoutResult^ EndLogout (
IAsyncResult^ asyncResult
) abstract
protected abstract LogoutResult EndLogout (
IAsyncResult asyncResult
)
protected internal abstract function EndLogout (
asyncResult : IAsyncResult
) : LogoutResult
매개 변수
- asyncResult
완료할 비동기 호출을 나타내는 BeginLogout에서 반환된 결과입니다.
반환 값
작업의 결과입니다.
예외
예외 형식 | 조건 |
---|---|
InvalidOperationException | asyncResult가 BeginLogout에서 반환되지 않았거나 취소하거나 끝낼 비동기 호출이 이전 호출에서 이미 완료된 경우 |
설명
이 메서드는 Logout 작업이 완료된 경우 호출됩니다. 작업의 상태에 따라 RIA Services 프레임워크는 이 메서드나 CancelLogout 메서드를 호출하지만 두 메서드를 모두 호출하지는 않습니다.
이 메서드에서 throw된 예외는 Error에서 사용할 수 있습니다.
스레드 보안
이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 모든 인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.
플랫폼
개발 플랫폼
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 및 Windows 2000
대상 플랫폼
참고 항목
참조
AuthenticationService 클래스
AuthenticationService 멤버
System.ServiceModel.DomainServices.Client.ApplicationServices 네임스페이스