Share via


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, CancellationToken)

Associate an entity with a set of entities.

AssociateAsync(String, Guid, Relationship, EntityReferenceCollection)

Associate an entity with a set of entities.

(Inherited from IOrganizationServiceAsync)
Create(Entity)

Creates a record.

(Inherited from IOrganizationService)
CreateAndReturnAsync(Entity, CancellationToken)

Create an entity and process any related entities.

CreateAsync(Entity, CancellationToken)

Create an entity and process any related entities.

CreateAsync(Entity)

Create an entity and process any related entities.

(Inherited from IOrganizationServiceAsync)
Delete(String, Guid)

Deletes a record.

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

Delete instance of an entity.

DeleteAsync(String, Guid)

Delete an instance of an entity.

(Inherited from IOrganizationServiceAsync)
Disassociate(String, Guid, Relationship, EntityReferenceCollection)

Deletes a link between records.

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

Disassociate an entity with a set of entities.

DisassociateAsync(String, Guid, Relationship, EntityReferenceCollection)

Disassociate an entity with a set of entities.

(Inherited from IOrganizationServiceAsync)
Execute(OrganizationRequest)

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

(Inherited from IOrganizationService)
ExecuteAsync(OrganizationRequest, CancellationToken)

Perform an action in an organization specified by the request.

ExecuteAsync(OrganizationRequest)

Perform an action in an organization specified by the request.

(Inherited from IOrganizationServiceAsync)
Retrieve(String, Guid, ColumnSet)

Retrieves a record.

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

Retrieves instance of an entity.

RetrieveAsync(String, Guid, ColumnSet)

Retrieves an instance of an entity.

(Inherited from IOrganizationServiceAsync)
RetrieveMultiple(QueryBase)

Retrieves a collection of records.

(Inherited from IOrganizationService)
RetrieveMultipleAsync(QueryBase, CancellationToken)

Retrieves a collection of entities.

RetrieveMultipleAsync(QueryBase)

Retrieves a collection of entities.

(Inherited from IOrganizationServiceAsync)
Update(Entity)

Updates an existing record.

(Inherited from IOrganizationService)
UpdateAsync(Entity, CancellationToken)

Updates an entity and process any related entities.

UpdateAsync(Entity)

Updates an entity and process any related entities.

(Inherited from IOrganizationServiceAsync)

Applies to