Show / Hide Table of Contents

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

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top