AbstractClientRequestBuilder<T>.CreateAsync 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.
Overloads
CreateAsync(Entity) | |
CreateAsync(Entity, CancellationToken) |
CreateAsync(Entity)
public System.Threading.Tasks.Task<Guid> CreateAsync (Microsoft.Xrm.Sdk.Entity entity);
abstract member CreateAsync : Microsoft.Xrm.Sdk.Entity -> System.Threading.Tasks.Task<Guid>
override this.CreateAsync : Microsoft.Xrm.Sdk.Entity -> System.Threading.Tasks.Task<Guid>
Public Function CreateAsync (entity As Entity) As Task(Of Guid)
Parameters
- entity
- Entity
Returns
Implements
Applies to
CreateAsync(Entity, CancellationToken)
public System.Threading.Tasks.Task<Guid> CreateAsync (Microsoft.Xrm.Sdk.Entity entity, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : Microsoft.Xrm.Sdk.Entity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Guid>
override this.CreateAsync : Microsoft.Xrm.Sdk.Entity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Guid>
Public Function CreateAsync (entity As Entity, cancellationToken As CancellationToken) As Task(Of Guid)
Parameters
- entity
- Entity
- cancellationToken
- CancellationToken