WebProxyClient<TService>.CreateNewInitializer Method ()

 

Applies To: Dynamics CRM 2015

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:
virtual WebProxyClientContextInitializer<TService>^ CreateNewInitializer() abstract
abstract CreateNewInitializer : unit -> WebProxyClientContextInitializer<'TService>
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

© 2016 Microsoft. All rights reserved. Copyright