Open sandboxFocus

Method IsStandalone

IsStandalone(LogRecordKind)

Determines whether a given LogRecordKind represents a standalone record, i.e. a record that does not have a corresponding opening or closing. For instance, a CustomRecord is a standalone record.

Declaration
public static bool IsStandalone(this LogRecordKind kind)
Parameters
Type Name Description
LogRecordKind kind

A LogRecordKind.

Returns
Type Description
bool

true if kind is a standalone record, otherwise false.

Remarks

MethodException may represent an closing or a standalone record, depending on the context. This method shall return false for MethodException.