Share via


MeteringHttpClient.ReportUsage Method

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

Syntax

'Declaration
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
)
public:
virtual Task^ ReportUsage(
    Guid eventUserid, 
    ResourceName resourceName, 
    int quantity, 
    String^ eventId, 
    DateTime billingEventDateTime, 
    Object^ userState
)
abstract ReportUsage : 
        eventUserid:Guid * 
        resourceName:ResourceName * 
        quantity:int * 
        eventId:string * 
        billingEventDateTime:DateTime * 
        userState:Object -> Task  
override ReportUsage : 
        eventUserid:Guid * 
        resourceName:ResourceName * 
        quantity:int * 
        eventId:string * 
        billingEventDateTime:DateTime * 
        userState:Object -> Task
public function ReportUsage(
    eventUserid : Guid, 
    resourceName : ResourceName, 
    quantity : int, 
    eventId : String, 
    billingEventDateTime : DateTime, 
    userState : Object
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

.NET Framework Security

See Also

Reference

MeteringHttpClient Class

Microsoft.VisualStudio.Services.Commerce.Client Namespace