IOrganizationServiceAsync.RetrieveAsync(String, Guid, ColumnSet) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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