共用方式為


IOrderCollection.CreateAsync Method

Definition

Overloads

CreateAsync(Order)

Asynchronously places a new order for the customer.

CreateAsync(Order, String)

Asynchronously places a new order for the customer with a Customer User UPN for license assignment.

CreateAsync(Order)

Asynchronously places a new order for the customer.

public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.Orders.Order> CreateAsync (Microsoft.Store.PartnerCenter.Models.Orders.Order newEntity);
abstract member CreateAsync : Microsoft.Store.PartnerCenter.Models.Orders.Order -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.Orders.Order>
Public Function CreateAsync (newEntity As Order) As Task(Of Order)

Parameters

newEntity
Order

The new order information.

Returns

The order that was just placed.

Implements

Applies to

CreateAsync(Order, String)

Asynchronously places a new order for the customer with a Customer User UPN for license assignment.

public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.Orders.Order> CreateAsync (Microsoft.Store.PartnerCenter.Models.Orders.Order newEntity, string customerUserUpn);
abstract member CreateAsync : Microsoft.Store.PartnerCenter.Models.Orders.Order * string -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.Orders.Order>
Public Function CreateAsync (newEntity As Order, customerUserUpn As String) As Task(Of Order)

Parameters

newEntity
Order

The new order information.

customerUserUpn
String

The customer user UPN for license assignment.

Returns

The order that was just placed.

Applies to