IStatusReporter.GetStatus Method (HttpConfiguration, ApiServices, CancellationToken)
Provides status information in the form of an StatusReport to be included in the response of the DiagnosticsController. The information exposed by the DiagnosticsController is access controlled using the ConfigOptions instance. While the information is access controller, be careful not to expose any private or confidential information.
Namespace: Microsoft.WindowsAzure.Mobile.Service.Diagnostics
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Syntax
Task<StatusReport> GetStatus(
HttpConfiguration config,
ApiServices services,
CancellationToken cancellationToken
)
Task<StatusReport^>^ GetStatus(
HttpConfiguration^ config,
ApiServices^ services,
CancellationToken cancellationToken
)
abstract GetStatus :
config:HttpConfiguration *
services:ApiServices *
cancellationToken:CancellationToken -> Task<StatusReport>
Function GetStatus (
config As HttpConfiguration,
services As ApiServices,
cancellationToken As CancellationToken
) As Task(Of StatusReport)
Parameters
config
Type: System.Web.Http.HttpConfigurationThe current HttpConfiguration.
services
Type: Microsoft.WindowsAzure.Mobile.Service.ApiServicesThe current ApiServices.
cancellationToken
Type: System.Threading.CancellationTokenA CancellationToken which may fire if the operation takes too long.
Return Value
Type: System.Threading.Tasks.Task<StatusReport>
A Task<TResult> representing the operation.
See Also
IStatusReporter Interface
Microsoft.WindowsAzure.Mobile.Service.Diagnostics Namespace
Return to top