메소드 | 설명 | |
---|---|---|
CreateListener ( string eventHubNamespace, string eventHubName, string publisherId, string sasToken, System.TimeSpan bufferingInterval = null, int bufferingCount = Buffering.DefaultBufferingCount, System.TimeSpan onCompletedTimeout = null, int maxBufferSize = Buffering.DefaultMaxBufferSize ) : System.Diagnostics.Tracing.EventListener |
Creates an event listener that logs using an EventHubHttpSink.
|
|
LogToEventHubUsingHttp ( this |
Subscribes to an IObservable{EventEntry} using an EventHubHttpSink.
|
public static CreateListener ( string eventHubNamespace, string eventHubName, string publisherId, string sasToken, System.TimeSpan bufferingInterval = null, int bufferingCount = Buffering.DefaultBufferingCount, System.TimeSpan onCompletedTimeout = null, int maxBufferSize = Buffering.DefaultMaxBufferSize ) : System.Diagnostics.Tracing.EventListener | ||
eventHubNamespace | string | The namespace of the eventhub. |
eventHubName | string | The name of the eventhub. |
publisherId | string | The id of the event publisher. |
sasToken | string | The shared access signature token. |
bufferingInterval | System.TimeSpan | The buffering interval between each batch publishing. |
bufferingCount | int | The number of entries that will trigger a batch publishing. |
onCompletedTimeout | System.TimeSpan | Defines a timeout interval for when flushing the entries after an |
maxBufferSize | int | The maximum number of entries that can be buffered while it's sending to the store before the sink starts dropping entries. |
리턴 | System.Diagnostics.Tracing.EventListener |
public static LogToEventHubUsingHttp ( this |
||
eventStream | this |
The event stream. Typically this is an instance of |
eventHubNamespace | string | The namespace of the eventhub. |
eventHubName | string | The name of the eventhub. |
publisherId | string | The id of the event publisher. |
sasToken | string | The shared access signature token. |
bufferingInterval | System.TimeSpan | The buffering interval between each batch publishing. |
bufferingCount | int | The number of entries that will trigger a batch publishing. |
onCompletedTimeout | System.TimeSpan | Defines a timeout interval for when flushing the entries after an |
maxBufferSize | int | The maximum number of entries that can be buffered while it's sending to the store before the sink starts dropping entries. |
리턴 | SinkSubscription |