다음을 통해 공유


MeteringHttpClient.GetResourceStatus Method (Nullable<ResourceName>, Boolean, Object)

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

Syntax

'Declaration
Public Overridable Function GetResourceStatus ( _
    resourceName As Nullable(Of ResourceName), _
    nextBillingPeriod As Boolean, _
    userState As Object _
) As Task(Of ISubscriptionResource)
public virtual Task<ISubscriptionResource> GetResourceStatus(
    Nullable<ResourceName> resourceName,
    bool nextBillingPeriod,
    Object userState
)
public:
virtual Task<ISubscriptionResource^>^ GetResourceStatus(
    Nullable<ResourceName> resourceName, 
    bool nextBillingPeriod, 
    Object^ userState
)
abstract GetResourceStatus : 
        resourceName:Nullable<ResourceName> * 
        nextBillingPeriod:bool * 
        userState:Object -> Task<ISubscriptionResource> 
override GetResourceStatus : 
        resourceName:Nullable<ResourceName> * 
        nextBillingPeriod:bool * 
        userState:Object -> Task<ISubscriptionResource> 
public function GetResourceStatus(
    resourceName : Nullable<ResourceName>, 
    nextBillingPeriod : boolean, 
    userState : Object
) : Task<ISubscriptionResource>

Parameters

Return Value

Type: System.Threading.Tasks.Task<ISubscriptionResource>

.NET Framework Security

See Also

Reference

MeteringHttpClient Class

GetResourceStatus Overload

Microsoft.VisualStudio.Services.Commerce.Client Namespace