IOrganizationServiceAsync2 Interface

Definition

Extends the IOrganizationServiceAsync interface by adding support for a cancellation token.

[System.ServiceModel.ServiceContract(Name="IOrganizationService", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Services")]
public interface IOrganizationServiceAsync2 : Microsoft.PowerPlatform.Dataverse.Client.IOrganizationServiceAsync, Microsoft.Xrm.Sdk.IOrganizationService
[<System.ServiceModel.ServiceContract(Name="IOrganizationService", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Services")>]
type IOrganizationServiceAsync2 = interface
    interface IOrganizationServiceAsync
    interface IOrganizationService
Public Interface IOrganizationServiceAsync2
Implements IOrganizationService, IOrganizationServiceAsync
Derived
Attributes
Implements

Remarks

The asynchronous methods only operate from within the ServiceClient object and are not supported server side.

Methods

Associate(String, Guid, Relationship, EntityReferenceCollection)

Creates a link between records.

(Inherited from IOrganizationService)
AssociateAsync(String, Guid, Relationship, EntityReferenceCollection)

Associate an entity with a set of entities.

(Inherited from IOrganizationServiceAsync)
AssociateAsync(String, Guid, Relationship, EntityReferenceCollection, CancellationToken)

Associate an entity with a set of entities.

Create(Entity)

Creates a record.

(Inherited from IOrganizationService)
CreateAndReturnAsync(Entity, CancellationToken)

Create an entity and process any related entities.

CreateAsync(Entity)

Create an entity and process any related entities.

(Inherited from IOrganizationServiceAsync)
CreateAsync(Entity, CancellationToken)

Create an entity and process any related entities.

Delete(String, Guid)

Deletes a record.

(Inherited from IOrganizationService)
DeleteAsync(String, Guid)

Delete an instance of an entity.

(Inherited from IOrganizationServiceAsync)
DeleteAsync(String, Guid, CancellationToken)

Delete instance of an entity.

Disassociate(String, Guid, Relationship, EntityReferenceCollection)

Deletes a link between records.

(Inherited from IOrganizationService)
DisassociateAsync(String, Guid, Relationship, EntityReferenceCollection)

Disassociate an entity with a set of entities.

(Inherited from IOrganizationServiceAsync)
DisassociateAsync(String, Guid, Relationship, EntityReferenceCollection, CancellationToken)

Disassociate an entity with a set of entities.

Execute(OrganizationRequest)

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

(Inherited from IOrganizationService)
ExecuteAsync(OrganizationRequest)

Perform an action in an organization specified by the request.

(Inherited from IOrganizationServiceAsync)
ExecuteAsync(OrganizationRequest, CancellationToken)

Perform an action in an organization specified by the request.

Retrieve(String, Guid, ColumnSet)

Retrieves a record.

(Inherited from IOrganizationService)
RetrieveAsync(String, Guid, ColumnSet)

Retrieves an instance of an entity.

(Inherited from IOrganizationServiceAsync)
RetrieveAsync(String, Guid, ColumnSet, CancellationToken)

Retrieves instance of an entity.

RetrieveMultiple(QueryBase)

Retrieves a collection of records.

(Inherited from IOrganizationService)
RetrieveMultipleAsync(QueryBase)

Retrieves a collection of entities.

(Inherited from IOrganizationServiceAsync)
RetrieveMultipleAsync(QueryBase, CancellationToken)

Retrieves a collection of entities.

Update(Entity)

Updates an existing record.

(Inherited from IOrganizationService)
UpdateAsync(Entity)

Updates an entity and process any related entities.

(Inherited from IOrganizationServiceAsync)
UpdateAsync(Entity, CancellationToken)

Updates an entity and process any related entities.

Applies to