[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This class is used to create and enumerate a serialized event object.

Namespace: Microsoft.WebSolutionsPlatform.Event
Assembly: WspEvent (WspEvent)

Syntax

Visual Basic (Declaration)
Public Class SerializationData _
	Implements IEnumerable(Of WspKeyValuePair(Of String, Object)), IEnumerable, IEnumerator(Of WspKeyValuePair(Of String, Object)), IDisposable, IEnumerator
C#
public class SerializationData : IEnumerable<WspKeyValuePair<string, Object>>, IEnumerable, IEnumerator<WspKeyValuePair<string, Object>>, IDisposable, IEnumerator
C++
public ref class SerializationData : IEnumerable<WspKeyValuePair<String^, Object^>>, IEnumerable, IEnumerator<WspKeyValuePair<String^, Object^>>, IDisposable, IEnumerator

Methods

IconTypeDescription
AddElement(String, Object)
Method to add element data to the SerializationData object.
Dispose()
Disposes of the object.
Dispose(Boolean)
Disposes of the object.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Destructor
GetEnumerator()
Returns an enumerator for the object.
GetEventType()
Returns the EventType for the Event
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.
GetInRouterName()
Returns the InRouterName for the Event
GetOriginatingRouterName()
Returns the OriginatingRouterName for the Event
GetType()
Gets the Type of the current instance.
MemberwiseClone()
Creates a shallow copy of the current Object.
MoveNext()
Method to move to the next key/value pair data in the SerializationData object.
Reset()
Method to set the enumerator to its initial position, before the first key/value pair data in the SerializationData object.
ResetStream()
Resets the underlying memory stream.
IEnumerable.GetEnumerator()
Returns an enumerator for the object.
ToBytes()
Return the object as a byte array in UTF-8 format.
ToString()
Return the object as a string.

Constructors

IconTypeDescription
SerializationDataNew()
Constructor
SerializationDataNew(Byte[]())
Constructor which can load and parse a serialized event object. The properties can then be enumerated with a foreach statement.

Properties

IconTypeDescription
Current
Current element in the SerializationData object.
Length
Length of the SerializationData object
ReadMode
Identifies if object can be read. When state changes to true, the position of the stream is reset.
IEnumerator.Current
WriteMode
Identifies if object can be written. When state changes to true, the position of the stream is set to the end.

Inheritance Hierarchy

System.Object
  Microsoft.WebSolutionsPlatform.Event.SerializationData