OrganizationWebProxyClient OrganizationWebProxyClient OrganizationWebProxyClient 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
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) OrganizationWebProxyClient(Uri, Assembly) OrganizationWebProxyClient(Uri, Assembly) OrganizationWebProxyClient(Uri, Assembly)

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

OrganizationWebProxyClient(Uri, Boolean) OrganizationWebProxyClient(Uri, Boolean) OrganizationWebProxyClient(Uri, Boolean) OrganizationWebProxyClient(Uri, Boolean)

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

OrganizationWebProxyClient(Uri, TimeSpan, Assembly) OrganizationWebProxyClient(Uri, TimeSpan, Assembly) OrganizationWebProxyClient(Uri, TimeSpan, Assembly) 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) OrganizationWebProxyClient(Uri, TimeSpan, Boolean) OrganizationWebProxyClient(Uri, TimeSpan, Boolean) OrganizationWebProxyClient(Uri, TimeSpan, Boolean)

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

Properties

CallerId CallerId CallerId CallerId

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

CallerRegardingObjectId CallerRegardingObjectId CallerRegardingObjectId CallerRegardingObjectId

HeaderToken HeaderToken HeaderToken HeaderToken

The access token returned from OAuth authentication.

(Inherited from WebProxyClient<TService>)
SdkClientVersion SdkClientVersion SdkClientVersion SdkClientVersion

The version of your client application.

(Inherited from WebProxyClient<TService>)
SyncOperationType SyncOperationType SyncOperationType SyncOperationType

For internal use only.

userType userType userType userType

Methods

Associate(String, Guid, Relationship, EntityReferenceCollection) Associate(String, Guid, Relationship, EntityReferenceCollection) Associate(String, Guid, Relationship, EntityReferenceCollection) Associate(String, Guid, Relationship, EntityReferenceCollection)

Creates a link between records.

AssociateCore(String, Guid, Relationship, EntityReferenceCollection) AssociateCore(String, Guid, Relationship, EntityReferenceCollection) AssociateCore(String, Guid, Relationship, EntityReferenceCollection) AssociateCore(String, Guid, Relationship, EntityReferenceCollection)

For internal use only.

Create(Entity) Create(Entity) Create(Entity) Create(Entity)

Creates a record.

CreateCore(Entity) CreateCore(Entity) CreateCore(Entity) CreateCore(Entity)

For internal use only.

CreateNewInitializer() CreateNewInitializer() CreateNewInitializer() 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) Delete(String, Guid) Delete(String, Guid) Delete(String, Guid)

Deletes a record.

DeleteCore(String, Guid) DeleteCore(String, Guid) DeleteCore(String, Guid) DeleteCore(String, Guid)

For internal use only.

Disassociate(String, Guid, Relationship, EntityReferenceCollection) Disassociate(String, Guid, Relationship, EntityReferenceCollection) Disassociate(String, Guid, Relationship, EntityReferenceCollection) Disassociate(String, Guid, Relationship, EntityReferenceCollection)

Deletes a link between records.

DisassociateCore(String, Guid, Relationship, EntityReferenceCollection) DisassociateCore(String, Guid, Relationship, EntityReferenceCollection) DisassociateCore(String, Guid, Relationship, EntityReferenceCollection) DisassociateCore(String, Guid, Relationship, EntityReferenceCollection)

For internal use only.

Dispose() Dispose() Dispose() Dispose()

Disposes the web proxy client object.

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

Disposes the web proxy client object.

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

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

ExecuteCore(OrganizationRequest) ExecuteCore(OrganizationRequest) ExecuteCore(OrganizationRequest) ExecuteCore(OrganizationRequest)

For internal use only.

Retrieve(String, Guid, ColumnSet) Retrieve(String, Guid, ColumnSet) Retrieve(String, Guid, ColumnSet) Retrieve(String, Guid, ColumnSet)

Retrieves a record.

RetrieveCore(String, Guid, ColumnSet) RetrieveCore(String, Guid, ColumnSet) RetrieveCore(String, Guid, ColumnSet) RetrieveCore(String, Guid, ColumnSet)

For internal use only.

RetrieveMultiple(QueryBase) RetrieveMultiple(QueryBase) RetrieveMultiple(QueryBase) RetrieveMultiple(QueryBase)

Retrieves a collection of records.

RetrieveMultipleCore(QueryBase) RetrieveMultipleCore(QueryBase) RetrieveMultipleCore(QueryBase) RetrieveMultipleCore(QueryBase)

For internal use only.

Update(Entity) Update(Entity) Update(Entity) Update(Entity)

Updates an existing record.

UpdateCore(Entity) UpdateCore(Entity) UpdateCore(Entity) UpdateCore(Entity)

For internal use only.

Applies to