Compartilhar via


IAuthentication<T>.Logout 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.]

Logs out an authenticated user.

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

Syntax

'Declaration
<QueryAttribute(IsComposable := False, HasSideEffects := True)> _
Function Logout As T
'Usage
Dim instance As IAuthentication
Dim returnValue As T

returnValue = instance.Logout()
[QueryAttribute(IsComposable = false, HasSideEffects = true)]
T Logout()
[QueryAttribute(IsComposable = false, HasSideEffects = true)]
T Logout()
[<QueryAttribute(IsComposable = false, HasSideEffects = true)>]
abstract Logout : unit -> 'T 
function Logout() : T

Return Value

Type: T
A single default user.

See Also

Reference

IAuthentication<T> Interface

System.ServiceModel.DomainServices.Server.ApplicationServices Namespace