BabelReporting
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
A babel report service client. This class cannot be inherited.
Inheritance
object ← BabelService ← BabelReporting
Implements
Inherited Members
BabelService.Dispose(), BabelService.ShutdownAsync(), BabelService.Configuration, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Extension Methods
BabelReportingExtensions.SendExceptionReport(BabelReporting, string, Exception), BabelReportingExtensions.SendExceptionReportAsync(BabelReporting, string, Exception, CancellationToken), BabelReportingExtensions.SendLicenseReport(BabelReporting, string), BabelReportingExtensions.SendLicenseReportAsync(BabelReporting, string, CancellationToken)
Examples
Constructors
BabelReporting()
Default constructor.
BabelReporting(BabelReportingConfiguration)
BabelReporting class constructor.
Parameters
Name | Description |
---|---|
The configuration |
Properties
Configuration
Reporting configuration
Property Value
Methods
Configure(Action<BabelReportingConfiguration>)
Configures the BabelReporting service
Parameters
Name | Description |
---|---|
CreateDefaultConfiguration()
Creates default service configuration
Returns
Name | Description |
---|---|
An instance of class |
Dispose(bool)
Dispose method
Parameters
Name | Description |
---|---|
Whether is disposing or finalizing. |
OnConfiguring(BabelServiceConfiguration)
Called on server configuration
Parameters
Name | Description |
---|---|
The babel service configuration. |
Send(string, Report)
Sends a report to the Babel server
Parameters
Name | Description |
---|---|
The license user key. | |
The report object. |
Returns
Name | Description |
---|---|
The SendReportResult object. |
Exceptions
Name | Description |
---|---|
SendAsync(string, Report, CancellationToken)
Sends a report asynchronously to the Babel server
Parameters
Name | Description |
---|---|
The license user key. | |
The report object. | |
(Optional)The operation cancel token. |
Returns
Name | Description |
---|---|
The SendReportResult object. |
Exceptions
Name | Description |
---|---|
AfterSendReport
Event queue for all listeners interested in AfterSendReport events.
Event Type
EventHandler<AfterSendReportEventArgs>
BeforeSendReport
Event queue for all listeners interested in BeforeSendReport events.
Event Type
Last updated