AuthenticationService.EndLogout Method
[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.]
Ends an asynchronous Logout operation.
Namespace: System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Protected Friend MustOverride Function EndLogout ( _
asyncResult As IAsyncResult _
) As LogoutResult
'Usage
Dim asyncResult As IAsyncResult
Dim returnValue As LogoutResult
returnValue = Me.EndLogout(asyncResult)
protected internal abstract LogoutResult EndLogout(
IAsyncResult asyncResult
)
protected public:
virtual LogoutResult^ EndLogout(
IAsyncResult^ asyncResult
) abstract
abstract EndLogout :
asyncResult:IAsyncResult -> LogoutResult
abstract function EndLogout(
asyncResult : IAsyncResult
) : LogoutResult
Parameters
- asyncResult
Type: System.IAsyncResult
A result returned from BeginLogout that represents the asynchronous call to conclude.
Return Value
Type: System.ServiceModel.DomainServices.Client.ApplicationServices.LogoutResult
The result of the operation.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | asyncResult was not returned from BeginLogout or the asynchronous call has already been concluded with a previous call to cancel or end. |
Remarks
This method is invoked when a Logout operation completes. Depending on state of the operation, the RIA Services framework calls either this method or the CancelLogout method, but not both methods.
Exceptions thrown from this method will be available in Error.
See Also
Reference
System.ServiceModel.DomainServices.Client.ApplicationServices Namespace