Class BatchDataWriter
Implements the IMonitoringDataWriter that writes the entire monitoring batch in a single database call using table-value parameters of a stored procedure.
Inheritance
System.Object
BatchDataWriter
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Nevatech.Vsb.Repository.Monitoring
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class BatchDataWriter : IMonitoringDataWriter
Constructors
BatchDataWriter()
Declaration
public BatchDataWriter()
Methods
WriteBatchAsync(MonitoringBatch)
When implemented by a class, asynchronously writes monitoring data into an underlying data store.
Declaration
public Task WriteBatchAsync(MonitoringBatch batch)
Parameters
Type | Name | Description |
---|---|---|
MonitoringBatch | batch | The monitoring data batch to write. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | the System.Threading.Tasks.Task that can be used to await for asynchronous operation to complete. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if the specified |