C# Класс SevenDigital.Messaging.MessageSending.PersistentQueueFactory

Factory to create a persistent queue in a default location
Наследование: IOutgoingQueueFactory
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
StoragePath string

Открытые методы

Метод Описание
Cleanup ( ) : void

Do any cleanup after queue is disposed.

PrepareQueue ( ) : IPersistentQueue

Ensure queue exists on disk and return a locked instance

Описание методов

Cleanup() публичный Метод

Do any cleanup after queue is disposed.
public Cleanup ( ) : void
Результат void

PrepareQueue() публичный Метод

Ensure queue exists on disk and return a locked instance
public PrepareQueue ( ) : IPersistentQueue
Результат IPersistentQueue

Описание свойств

StoragePath публичное статическое свойство

Storage location for the Persistent queue. Only one process can use each queue location at a time. This is a horrible hack. I need to think of a better way of doing this...
public static string StoragePath
Результат string