Del via


ServiceProxy<TService>.ValidateAuthentication Method ()

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Authenticates the client and creates a new service channel.

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

protected virtual void ValidateAuthentication()
Protected Overridable Sub ValidateAuthentication

Remarks

If the IsAuthenticated property is set to false, the Authenticate method is invoked. If the ServiceChannel property is set to null, a new service channel is created.

See Also

ServiceProxy<TService> Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright