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 Message is a standalone record.
Declaration
public static bool IsStandalone(this LogRecordKind kind)Parameters
| Type | Name | Description |
|---|---|---|
| LogRecordKind | kind |
Returns
| Type | Description |
|---|---|
| bool |
|
Remarks
MethodException may represent an closing or a standalone record, depending on
the context. This method shall return false for MethodException.