IOrganizationServiceAsync.RetrieveAsync(String, Guid, ColumnSet) Method

Definition

Retrieves an instance of an entity.

[System.ServiceModel.OperationContract]
public System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.Entity> RetrieveAsync (string entityName, Guid id, Microsoft.Xrm.Sdk.Query.ColumnSet columnSet);
[<System.ServiceModel.OperationContract>]
abstract member RetrieveAsync : string * Guid * Microsoft.Xrm.Sdk.Query.ColumnSet -> System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.Entity>
Public Function RetrieveAsync (entityName As String, id As Guid, columnSet As ColumnSet) As Task(Of Entity)

Parameters

entityName
String

Logical name of entity.

id
Guid

Id of entity.

columnSet
ColumnSet

Column Set collection to return with the request.

Returns

The specified entity.

Attributes

Applies to