Jaa


DiscoveryWebProxyClient.CreateNewInitializer Method

Definition

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.

protected:
 override Microsoft::Xrm::Sdk::WebServiceClient::WebProxyClientContextInitializer<Microsoft::Xrm::Sdk::Discovery::IDiscoveryService ^> ^ CreateNewInitializer();
protected override Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClientContextInitializer<Microsoft.Xrm.Sdk.Discovery.IDiscoveryService> CreateNewInitializer ();
override this.CreateNewInitializer : unit -> Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClientContextInitializer<Microsoft.Xrm.Sdk.Discovery.IDiscoveryService>
Protected Overrides Function CreateNewInitializer () As WebProxyClientContextInitializer(Of IDiscoveryService)

Returns

A web proxy client context initializer.

Applies to