Show / Hide Table of Contents

Class ServiceLogContext

Inheritance
Object
ServiceLogContext
Implements
IDisposable
Namespace: SuperOffice.CRM.Services.Implementation
Assembly: SoCore.dll
Syntax
public class ServiceLogContext : Object, IDisposable

Methods

Dispose()

Declaration
public void Dispose()

GetCrashInformation()

Declaration
public string GetCrashInformation()
Returns
Type Description
String

GetCurrentState()

Return information about the currently executing services. Do not refactor to use IEnumerable/yield as we need to keep the lock time minimal.

Declaration
public static ServiceLogData[] GetCurrentState()
Returns
Type Description
ServiceLogData[]

GetEnvironmentInfo()

Declaration
public static string GetEnvironmentInfo()
Returns
Type Description
String

GetShorthandInfo()

Declaration
public static string GetShorthandInfo()
Returns
Type Description
String

GetSimplifiedParametersForLogging()

Declaration
public static List<ValueTuple<string, string>> GetSimplifiedParametersForLogging()
Returns
Type Description
List<ValueTuple<String, String>>

SetDbStatistics(Int32, Int32, Int32)

Declaration
public static void SetDbStatistics(int managedThreadId, int dbOps, int dbRows)
Parameters
Type Name Description
Int32 managedThreadId
Int32 dbOps
Int32 dbRows

SetReturnValue(Object)

Declaration
public void SetReturnValue(object returnValue)
Parameters
Type Name Description
Object returnValue

ToString()

Declaration
public override string ToString()
Returns
Type Description
String

TrackThreadCreation(Int32, Int32)

Declaration
public static void TrackThreadCreation(int parentThreadId, int childThreadId)
Parameters
Type Name Description
Int32 parentThreadId
Int32 childThreadId

TrackThreadDeletion(Int32)

Declaration
public static void TrackThreadDeletion(int dyingThreadId)
Parameters
Type Name Description
Int32 dyingThreadId

Implements

IDisposable

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