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

This is the class that encapsulates the underlying shared memory queue.

Namespace: Microsoft.WebSolutionsPlatform.Common
Assembly: WspSharedQueue (WspSharedQueue)

Syntax

Visual Basic (Declaration)
Public Class SharedQueue _
	Implements IDisposable
C#
public class SharedQueue : IDisposable
C++
public ref class SharedQueue : IDisposable

Methods

IconTypeDescription
Dequeue(UInt32)
Get an element from the queue.
Dispose()
Dispose the SharedQueue object to release the unmanaged resources.
Dispose(Boolean)
Dispose the SharedQueue object to release the unmanaged resources.
Enqueue(Byte[](), UInt32)
Add an element to the queue.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Destructor for the class.
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.
GetType()
Gets the Type of the current instance.
MemberwiseClone()
Creates a shallow copy of the current Object.
ToString()
Returns a String that represents the current Object.

Constructors

IconTypeDescription
SharedQueueNew(String, UInt32, UInt32)
Base constructor to create a new SharedQueue.
SharedQueueNew(String, UInt32)
Base constructor to join an existing SharedQueue.

Properties

IconTypeDescription
QueueSize
Size in bytes of the SharedQueue

Inheritance Hierarchy

System.Object
  Microsoft.WebSolutionsPlatform.Common.SharedQueue