DiscoveryWebProxyClient.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 override WebProxyClientContextInitializer<IDiscoveryService> CreateNewInitializer()
protected:
virtual WebProxyClientContextInitializer<IDiscoveryService^>^ CreateNewInitializer() override
override CreateNewInitializer : unit -> WebProxyClientContextInitializer<IDiscoveryService>
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
© 2016 Microsoft. All rights reserved. Copyright