Udostępnij za pośrednictwem


OrganizationWebProxyClient.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::IOrganizationService ^> ^ CreateNewInitializer();
protected override Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClientContextInitializer<Microsoft.Xrm.Sdk.IOrganizationService> CreateNewInitializer ();
override this.CreateNewInitializer : unit -> Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClientContextInitializer<Microsoft.Xrm.Sdk.IOrganizationService>
Protected Overrides Function CreateNewInitializer () As WebProxyClientContextInitializer(Of IOrganizationService)

Returns

A web proxy client context initializer.

Applies to