OrganizationWebProxyClient Class

Definition

Implements IOrganizationService and provides an authenticated connection to the Organization.svc/web endpoint. This /web endpoint is also used by web resources.

public ref class OrganizationWebProxyClient : Microsoft::Xrm::Sdk::WebServiceClient::WebProxyClient<Microsoft::Xrm::Sdk::IOrganizationService ^>, Microsoft::Xrm::Sdk::IOrganizationService
public class OrganizationWebProxyClient : Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<Microsoft.Xrm.Sdk.IOrganizationService>, Microsoft.Xrm.Sdk.IOrganizationService
type OrganizationWebProxyClient = class
    inherit WebProxyClient<IOrganizationService>
    interface IOrganizationService
Public Class OrganizationWebProxyClient
Inherits WebProxyClient(Of IOrganizationService)
Implements IOrganizationService
Inheritance
ClientBase<TService>
OrganizationWebProxyClient
Implements

Remarks

You must set the HeaderToken and SdkClientVersion property values before using the proxy object to make service calls.

To call the Organization web service using the IOrganizationService interface, cast the proxy instance to an IOrganizationService type.

Constructors

OrganizationWebProxyClient(Uri, Assembly)

Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL and an assembly.

OrganizationWebProxyClient(Uri, Boolean)

Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL.

OrganizationWebProxyClient(Uri, TimeSpan, Assembly)

Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL, a time span, and an assembly.

OrganizationWebProxyClient(Uri, TimeSpan, Boolean)

Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL and time span.

Properties

CallerId

Gets or sets the ID of the user for whom SDK calls are made on behalf of.

CallerRegardingObjectId

HeaderToken

The access token returned from OAuth authentication.

(Inherited from WebProxyClient<TService>)
SdkClientVersion

The version of your client application.

(Inherited from WebProxyClient<TService>)
SyncOperationType

For internal use only.

userType

Methods

Associate(String, Guid, Relationship, EntityReferenceCollection)

Creates a link between records.

AssociateCore(String, Guid, Relationship, EntityReferenceCollection)

For internal use only.

Create(Entity)

Creates a record.

CreateCore(Entity)

For internal use only.

CreateNewInitializer()

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.

Delete(String, Guid)

Deletes a record.

DeleteCore(String, Guid)

For internal use only.

Disassociate(String, Guid, Relationship, EntityReferenceCollection)

Deletes a link between records.

DisassociateCore(String, Guid, Relationship, EntityReferenceCollection)

For internal use only.

Dispose()

Disposes the web proxy client object.

(Inherited from WebProxyClient<TService>)
Dispose(Boolean)

Disposes the web proxy client object.

(Inherited from WebProxyClient<TService>)
Execute(OrganizationRequest)

Executes a message in the form of a request, and returns a response.

ExecuteCore(OrganizationRequest)

For internal use only.

Retrieve(String, Guid, ColumnSet)

Retrieves a record.

RetrieveCore(String, Guid, ColumnSet)

For internal use only.

RetrieveMultiple(QueryBase)

Retrieves a collection of records.

RetrieveMultipleCore(QueryBase)

For internal use only.

Update(Entity)

Updates an existing record.

UpdateCore(Entity)

For internal use only.

Applies to