StatusReporter.GetStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Mobile.Service.Models.StatusReport> GetStatus (System.Web.Http.HttpConfiguration config, Microsoft.WindowsAzure.Mobile.Service.ApiServices services, System.Threading.CancellationToken cancellationToken);
abstract member GetStatus : System.Web.Http.HttpConfiguration * Microsoft.WindowsAzure.Mobile.Service.ApiServices * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Mobile.Service.Models.StatusReport>
override this.GetStatus : System.Web.Http.HttpConfiguration * Microsoft.WindowsAzure.Mobile.Service.ApiServices * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Mobile.Service.Models.StatusReport>
Public Function GetStatus (config As HttpConfiguration, services As ApiServices, cancellationToken As CancellationToken) As Task(Of StatusReport)
Parameters
- config
- System.Web.Http.HttpConfiguration
The current System.Web.Http.HttpConfiguration.
- services
- ApiServices
The current ApiServices.
- cancellationToken
- CancellationToken
A CancellationToken which may fire if the operation takes too long.
Returns
A Task<TResult> representing the operation.
Implements
Applies to
Azure SDK for .NET