Compartilhar via


WebProxyClient<TService>.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 abstract WebProxyClientContextInitializer<TService> CreateNewInitializer()
Protected MustOverride Function CreateNewInitializer As WebProxyClientContextInitializer(Of TService)

Return Value

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

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

See Also

WebProxyClient<TService> Class
Microsoft.Xrm.Sdk.WebServiceClient Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright