WebProxyClient<TService>.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:
abstract Microsoft::Xrm::Sdk::WebServiceClient::WebProxyClientContextInitializer<TService> ^ CreateNewInitializer();
protected abstract Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClientContextInitializer<TService> CreateNewInitializer ();
abstract member CreateNewInitializer : unit -> Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClientContextInitializer<'Service (requires 'Service : null)>
Protected MustOverride Function CreateNewInitializer () As WebProxyClientContextInitializer(Of TService)
Returns
A web proxy client context initializer.