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
- resourceName
Type: System.Nullable<ResourceName>
- nextBillingPeriod
Type: System.Boolean
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<ISubscriptionResource>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.