DiscoveryWebProxyClient.CreateNewInitializer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.