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)

Task<StatusReport^>^ GetStatus(
	HttpConfiguration^ config,
	ApiServices^ services,
	CancellationToken cancellationToken
)

Parameters

config
Type: System.Web.Http::HttpConfiguration^

The current HttpConfiguration.

services
Type: Microsoft.WindowsAzure.Mobile.Service::ApiServices^

The current ApiServices.

cancellationToken
Type: System.Threading::CancellationToken

A CancellationToken which may fire if the operation takes too long.

Return Value

Type: System.Threading.Tasks::Task<StatusReport^>^

A Task<TResult> representing the operation.

Return to top
Show: