C# Class SqlServerProducer.Commands.SendMessage

Inheritance: ConsoleSharedCommands.Commands.SharedSendCommands
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
CreateQueue ( string queueName, int type ) : ConsoleExecuteResult
Example ( string command ) : ConsoleExecuteResult
Help ( ) : ConsoleExecuteResult
Send ( string queueName, int itemCount, int runtime = 100, bool batched = false, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : ConsoleExecuteResult
SendAsync ( string queueName, int itemCount, int runtime = 100, bool batched = false, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : Task
SendMessage ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
ValidateQueue ( string queueName ) : ConsoleExecuteResult

Private Methods

Méthode Description
CreateContainer ( ) : QueueContainer
CreateMessages ( int itemCount, int runTime ) : IEnumerable
CreateModuleIfNeeded ( string queueName, ConsumerQueueTypes type ) : void
GenerateMessages ( List jobs, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : IAdditionalMessageData>>.List
RegisterService ( IContainer container ) : void

Method Details

CreateQueue() public méthode

public CreateQueue ( string queueName, int type ) : ConsoleExecuteResult
queueName string
type int
Résultat ConsoleShared.ConsoleExecuteResult

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Example() public méthode

public Example ( string command ) : ConsoleExecuteResult
command string
Résultat ConsoleShared.ConsoleExecuteResult

Help() public méthode

public Help ( ) : ConsoleExecuteResult
Résultat ConsoleShared.ConsoleExecuteResult

Send() public méthode

public Send ( string queueName, int itemCount, int runtime = 100, bool batched = false, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : ConsoleExecuteResult
queueName string
itemCount int
runtime int
batched bool
delay System.TimeSpan
expiration System.TimeSpan
priority ushort
Résultat ConsoleShared.ConsoleExecuteResult

SendAsync() public méthode

public SendAsync ( string queueName, int itemCount, int runtime = 100, bool batched = false, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : Task
queueName string
itemCount int
runtime int
batched bool
delay System.TimeSpan
expiration System.TimeSpan
priority ushort
Résultat Task

SendMessage() public méthode

public SendMessage ( ) : System
Résultat System

ValidateQueue() protected méthode

protected ValidateQueue ( string queueName ) : ConsoleExecuteResult
queueName string
Résultat ConsoleShared.ConsoleExecuteResult