Share via


WindowsAuthentication.BeginLogin 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.]

Login is not a supported operation for Windows authentication.

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

Syntax

'Declaration
Protected Overrides Function BeginLogin ( _
    parameters As LoginParameters, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim parameters As LoginParameters
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = Me.BeginLogin(parameters, _
    callback, state)
protected override IAsyncResult BeginLogin(
    LoginParameters parameters,
    AsyncCallback callback,
    Object state
)
protected:
virtual IAsyncResult^ BeginLogin(
    LoginParameters^ parameters, 
    AsyncCallback^ callback, 
    Object^ state
) override
abstract BeginLogin : 
        parameters:LoginParameters * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 
override BeginLogin : 
        parameters:LoginParameters * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 
protected override function BeginLogin(
    parameters : LoginParameters, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

Return Value

Type: System.IAsyncResult
nulla null reference (Nothing in Visual Basic) in all cases.

Exceptions

Exception Condition
NotSupportedException

In all cases.

See Also

Reference

WindowsAuthentication Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace