ServiceProxy Constructor
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Initializes a new instance of the ServiceProxy class using a service URI, a home realm URI, client logon credentials, and Windows Live device credentials.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Parameters
- uri
-
Type:
Type: URI. The URI of the service.
- homeRealmUri
-
Type:
Type: URI. The URI of the WS-Trust metadata endpoint of a second ADFS instance.
- clientCredentials
-
Type:
Type: ClientCredentials. The client’s logon credentials.
- deviceCredentials
-
Type:
Type: ClientCredentials. The credentials of a device registered with Windows Live. Only required when authenticating with Microsoft Dynamics 365 (online), otherwise use null.
The home realm parameter is set to a non-null value when a second ADFS instance is configured as an identity provider to the ADFS instance that Microsoft Dynamics CRM 2011 has been configured with for claims authentication.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright