Partilhar via


Método MeteringHttpClient.ReportUsage

Namespace:  Microsoft.VisualStudio.Services.Commerce.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (em Microsoft.VisualStudio.Services.WebApi.dll)

Sintaxe

'Declaração
Public Overridable Function ReportUsage ( _
    eventUserid As Guid, _
    resourceName As ResourceName, _
    quantity As Integer, _
    eventId As String, _
    billingEventDateTime As DateTime, _
    userState As Object _
) As Task
public virtual Task ReportUsage(
    Guid eventUserid,
    ResourceName resourceName,
    int quantity,
    string eventId,
    DateTime billingEventDateTime,
    Object userState
)

Parâmetros

Valor de retorno

Tipo: System.Threading.Tasks.Task

Segurança do .NET Framework

Consulte também

Referência

MeteringHttpClient Classe

Namespace Microsoft.VisualStudio.Services.Commerce.Client