MeteringHttpClient.GetResourceStatus Method (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 ( _
nextBillingPeriod As Boolean, _
userState As Object _
) As Task(Of IEnumerable(Of ISubscriptionResource))
public virtual Task<IEnumerable<ISubscriptionResource>> GetResourceStatus(
bool nextBillingPeriod,
Object userState
)
public:
virtual Task<IEnumerable<ISubscriptionResource^>^>^ GetResourceStatus(
bool nextBillingPeriod,
Object^ userState
)
abstract GetResourceStatus :
nextBillingPeriod:bool *
userState:Object -> Task<IEnumerable<ISubscriptionResource>>
override GetResourceStatus :
nextBillingPeriod:bool *
userState:Object -> Task<IEnumerable<ISubscriptionResource>>
public function GetResourceStatus(
nextBillingPeriod : boolean,
userState : Object
) : Task<IEnumerable<ISubscriptionResource>>
Parameters
- nextBillingPeriod
Type: System.Boolean
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<IEnumerable<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.