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
The configuration
Properties
Configuration
Reporting configuration
Property Value
Methods
Configure(Action<BabelReportingConfiguration>)
Configures the BabelReporting service
Parameters
CreateDefaultConfiguration()
Creates default service configuration
Returns
An instance of class
Dispose(bool)
Dispose method
Parameters
Whether is disposing or finalizing.
OnConfiguring(BabelServiceConfiguration)
Called on server configuration
Parameters
The babel service configuration.
Send(string, Report)
Sends a report to the Babel server
Parameters
The license user key.
The report object.
Returns
The SendReportResult object.
Exceptions
SendAsync(string, Report, CancellationToken)
Sends a report asynchronously to the Babel server
Parameters
The license user key.
The report object.
(Optional)The operation cancel token.
Returns
The SendReportResult object.
Exceptions
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