共用方式為


ServiceProxy<TService>.AuthenticateCore Method ()

 

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

Authenticates the client with a service.

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

Syntax

protected virtual void AuthenticateCore()
Protected Overridable Sub AuthenticateCore

Remarks

When using claims-based authentication, a new security token is requested by this method invocation. The ServiceConfiguration must be set prior to calling this method.

See Also

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright