BabelReportingExtensions
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
A babel reporting extensions.
Inheritance
object ← BabelReportingExtensions
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
SendExceptionReport(BabelReporting, string, Exception)
Sends an exception report to the BabelReporting service.
Parameters
Name | Description |
---|---|
| The BabelReporting instance. |
| The license user key. |
| The exception to be reported. |
Returns
Name | Description |
---|---|
The send report operation result . |
SendExceptionReportAsync(BabelReporting, string, Exception, CancellationToken)
Sends an exception report asynchronously to the BabelReporting service.
Parameters
Name | Description |
---|---|
| The BabelReporting instance. |
| The license user key. |
| The exception to be reported. |
| (Optional) A token that allows processing to be cancelled. |
Returns
Name | Description |
---|---|
A task representing the asynchronous operation that returns a . |
Examples
SendLicenseReport(BabelReporting, string)
A BabelReporting extension method that sends a license usage report.
Parameters
Name | Description |
---|---|
| The self to act on. |
| The license user key. |
Returns
Name | Description |
---|---|
The send report operation result . |
SendLicenseReportAsync(BabelReporting, string, CancellationToken)
A BabelReporting extension method that sends a license usage report asynchronous.
Parameters
Name | Description |
---|---|
| The self to act on. |
| The license user key. |
| (Optional) A token that allows processing to be cancelled. |
Returns
Name | Description |
---|---|
An asynchronous result that yields the send license usage report. |
Last updated