This class contains the logging information sent from the application
to the Log Server. Each LogEntry stores data about the current query
in key/value pairs. Examples of the kind of data that can be recorded
in a LogEntry include the session ID, the number of records in the
current navigation state, and the active sort key.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class LogEntry : IDictionary, ICollection, IEnumerable
Public Class LogEntry _ Implements IDictionary, ICollection, IEnumerable
public ref class LogEntry : IDictionary, ICollection, IEnumerable
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
LogEntryLogEntryNew()() |
Construct an empty LogEntry
| |
LogEntryLogEntryNew(IDictionary) |
Construct a LogEntry with the given key-value pairs.
| |
Add(Object, Object) |
Adds a key/value pair to this LogEntry object.
| |
AddDouble(String, Double) |
Set the given key to the given double value. The number will
be stored as a String in decimal representation.
Therefore, you can retrieve the value later by calling either
by getDouble() or getString().
| |
AddInt(String, Int32) |
Set the given key to the given integer value. The number will
be stored as a String in decimal representation. Therefore, you
can retrieve the value later by calling either by getInt(),
getDouble(), or getString().
| |
AddList(String, IList) |
Set the given key to the list value. Note that the values in the
list will all be converted to strings, so getList will return a
list of Strings.
| |
AddString(String, String) |
Set the given key to the given string value.
| |
Clear()() |
Clears the contents of this LogEntry.
| |
Contains(Object) |
Determines whether the LogEntry contains
an element with the specified key.
| |
CopyTo(Array, Int32) |
Copies the entire LogEntry to a compatible one-dimensional
Array, starting at the specified index of the target array.
| |
Count |
Gets the number of elements actually contained in the LogEntry.
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetDouble(String) |
Get the value associated with the given key. If the value
was originally set via setInt() or setString(), then this method
will still succeed as long as the value is a valid decimal number.
| |
GetEnumerator()() |
Returns an IDictionaryEnumerator
for the LogEntry.
| |
GetHashCode()() | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetInt(String) |
Get the integer value associated with the given key. If the value
was originally set via setString(), then this method will still
succeed as long as the value is a valid decimal integer.
| |
GetList(String) |
Get the given list value associated with a given key. If the value
was not originally set using setList, this method will return
a list with a single item containing the string representation
of the original value.
Any changes made to the IList object after
calling getList will not be reflected in the LogEntry's value.
In order to change the value of the list contents, setList() must
be used.
| |
GetString(String) |
Get the value associated with the given key.
| |
GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
IsFixedSize |
Gets a value indicating whether the
LogEntry has a fixed size.
| |
IsReadOnly |
Gets a value indicating whether the
LogEntry is read-only.
| |
IsSynchronized |
Gets a value indicating whether access to the LogEntry
is synchronized (thread-safe).
| |
Item[([Object])] |
Gets or sets an element with the specified key.
| |
Keys |
Gets an ICollection containing the
keys of this LogEntry.
| |
MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(Object) |
Removes the item with the specified key
| |
SyncRoot |
This operation is not supported.
| |
ToString()() | (Inherited from Object.) | |
Values |
Gets an ICollection containing the
values of this LogEntry.
|
Inheritance Hierarchy
Object | |
LogEntry |