C# Class IServiceOriented.ServiceBus.Delivery.MsmqMessageDeliveryQueue

Inheritance: IMessageDeliveryQueue, IDisposable
Datei anzeigen Open project: jezell/iserviceoriented

Public Methods

Method Description
Create ( string path ) : void

Create a message queue

Delete ( string path ) : void

Delete a message queue

Dequeue ( System.TimeSpan timeout ) : MessageDelivery
Dequeue ( string id, System.TimeSpan timeout ) : MessageDelivery
Dispose ( ) : void
Enqueue ( MessageDelivery value ) : void
Exists ( string path ) : bool

Determines if a message queue with the specified path exists

ListMessages ( ) : IEnumerable
MsmqMessageDeliveryQueue ( System.Messaging.MessageQueue queue, IMessageFormatter formatter ) : System
MsmqMessageDeliveryQueue ( string path, IMessageFormatter formatter ) : System
MsmqMessageDeliveryQueue ( string path, MessageQueueTransactionType transactionType, IMessageFormatter formatter ) : System
MsmqMessageDeliveryQueue ( string path, bool createIfNotExists, IMessageFormatter formatter ) : System
Peek ( System.TimeSpan timeout ) : MessageDelivery

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
createMessage ( MessageDelivery value ) : System.Messaging.Message
createObject ( System message ) : MessageDelivery

Method Details

Create() public static method

Create a message queue
public static Create ( string path ) : void
path string
return void

Delete() public static method

Delete a message queue
public static Delete ( string path ) : void
path string
return void

Dequeue() public method

public Dequeue ( System.TimeSpan timeout ) : MessageDelivery
timeout System.TimeSpan
return MessageDelivery

Dequeue() public method

public Dequeue ( string id, System.TimeSpan timeout ) : MessageDelivery
id string
timeout System.TimeSpan
return MessageDelivery

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Enqueue() public method

public Enqueue ( MessageDelivery value ) : void
value MessageDelivery
return void

Exists() public static method

Determines if a message queue with the specified path exists
public static Exists ( string path ) : bool
path string
return bool

ListMessages() public method

public ListMessages ( ) : IEnumerable
return IEnumerable

MsmqMessageDeliveryQueue() public method

public MsmqMessageDeliveryQueue ( System.Messaging.MessageQueue queue, IMessageFormatter formatter ) : System
queue System.Messaging.MessageQueue
formatter IMessageFormatter
return System

MsmqMessageDeliveryQueue() public method

public MsmqMessageDeliveryQueue ( string path, IMessageFormatter formatter ) : System
path string
formatter IMessageFormatter
return System

MsmqMessageDeliveryQueue() public method

public MsmqMessageDeliveryQueue ( string path, MessageQueueTransactionType transactionType, IMessageFormatter formatter ) : System
path string
transactionType MessageQueueTransactionType
formatter IMessageFormatter
return System

MsmqMessageDeliveryQueue() public method

public MsmqMessageDeliveryQueue ( string path, bool createIfNotExists, IMessageFormatter formatter ) : System
path string
createIfNotExists bool
formatter IMessageFormatter
return System

Peek() public method

public Peek ( System.TimeSpan timeout ) : MessageDelivery
timeout System.TimeSpan
return MessageDelivery