Gemstone Diagnostics Library
Show/Hide TOC

# LogStackMessages Class

Represents an immutable list of stack messages.

## Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.151 -- Release Build+c0b4302aa941216d78b302cf39acfd65827db2b4
C#
View Source Request Example

    public class LogStackMessages : IEquatable<LogStackMessages>

VB
View Source Request Example

    Public Class LogStackMessages
    	Implements IEquatable(Of LogStackMessages)

C++
View Source Request Example

    public ref class LogStackMessages : IEquatable<LogStackMessages^>

JavaScript
View Source Request Example

    Gemstone.Diagnostics.LogStackMessages = function();

    Type.createClass(
    	'Gemstone.Diagnostics.LogStackMessages',
    	null,
    	IEquatable`1);

Inheritance
  Object LogStackMessages

Implements
  IEquatable LogStackMessages

## Constructors

LogStackMessages(ListLogStackMessages) | Appends stack messages together.
LogStackMessages(ListKeyValuePairString, String) | Appends stack messages together.
LogStackMessages(Stream) | Loads stack messages from the stream.
LogStackMessages(String) | Creates a new stack message from the provided list of key/value pairs.
LogStackMessages(String, String) | Creates a new stack message from the provided key and value.

## Properties

Count | Gets the number of Key/Value pairs.
ItemInt32 | Gets the KeyValue for the provided index.
ItemString | Gets the first match of the provided in this dictionary. Returns null if none can be found.

## Methods

Equals(LogStackMessages) | Indicates whether the current object is equal to another object of the same type.
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Overrides ObjectEquals(Object))
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
GetHashCode | Serves as a hash function for a particular type. (Overrides ObjectGetHashCode)
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
Save | Saves this instance to the provided stream
ToString | Returns a string that represents the current object. (Overrides ObjectToString)
Union(LogStackMessages) | returns the union of this instance and the specified New messages replace existing messages.
Union(String) | returns the union of this instance and the specified list of key/value pairs. If the keys already exists. The new one replaces the existing one.
Union(String, String) | returns the union of this instance and the specified key/value. If the key already exists. The new one replaces the existing one.

## Fields

Empty | An empty stack message.

## See Also

#### Reference

Gemstone.Diagnostics Namespace