Del via


DiscoveryWebProxyClient.CreateNewInitializer Method ()

 

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

Creates the WCF proxy client initializer which gets invoked on every SDK method call. This method makes sure that the access token and other header values are added to the outbound call.

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

Syntax

protected override WebProxyClientContextInitializer<IDiscoveryService> CreateNewInitializer()
Protected Overrides Function CreateNewInitializer As WebProxyClientContextInitializer(Of IDiscoveryService)

Return Value

Type: Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClientContextInitializer<IDiscoveryService>

Type: WebProxyClientContextInitializer<TService>
A web proxy client context initializer.

See Also

DiscoveryWebProxyClient Class
Microsoft.Xrm.Sdk.WebServiceClient Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright