Class InMemoryChannel
- Namespace
- Microsoft.ApplicationInsights.Channel
- Assembly
- Microsoft.ApplicationInsights.dll
public class InMemoryChannel : ITelemetryChannel, IAsyncFlushable, IDisposable
- Inheritance
-
InMemoryChannel
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
InMemoryChannel()
Properties
BacklogSize
public int BacklogSize { get; set; }
Property Value
- int
DeveloperMode
public bool? DeveloperMode { get; set; }
Property Value
- bool?
EndpointAddress
public string EndpointAddress { get; set; }
Property Value
- string
MaxTelemetryBufferCapacity
public int MaxTelemetryBufferCapacity { get; set; }
Property Value
- int
SendingInterval
public TimeSpan SendingInterval { get; set; }
Property Value
- TimeSpan
Methods
Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
Flush()
Flush(TimeSpan)
public void Flush(TimeSpan timeout)
Parameters
timeout
TimeSpan
FlushAsync(CancellationToken)
public Task<bool> FlushAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
- Task<bool>
Send(ITelemetry)
public void Send(ITelemetry item)
Parameters
item
ITelemetry