Interface ISoOperation
Namespace: SuperOffice.Diagnostics.Logging
Assembly: SoCore.dll
Syntax
public interface ISoOperation
Methods
TraceOperation(string, NameValueCollection, string)
Log operation start. Dispose of the returned value to log the operation duration.
Declaration
IDisposable TraceOperation(string operationName, NameValueCollection tags, string dependencyTypeName = "Other")
Parameters
| Type | Name | Description |
|---|---|---|
| string | operationName | Name of the operation |
| NameValueCollection | tags | parameters to add to operation trace |
| string | dependencyTypeName |
Returns
| Type | Description |
|---|---|
| IDisposable | disposable object |