Udostępnij za pośrednictwem


WebProxyClient<TService>.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:
 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.

Applies to