C# Class ServiceBrokerDotNet.ServiceBrokerWrapper

Afficher le fichier Open project: jdaigle/servicebroker.net

Méthodes publiques

Méthode Description
BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName ) : System.Guid
BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName ) : System.Guid
BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, bool encryption ) : System.Guid
BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, int lifetime ) : System.Guid
BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, int lifetime, bool encryption ) : System.Guid
BeginTimer ( IDbTransaction transaction, System.Guid conversationHandle, int timeout ) : void
EndConversation ( IDbTransaction transaction, System.Guid conversationHandle ) : void
EndConversation ( IDbTransaction transaction, System.Guid conversationHandle, bool withCleanup ) : void
EndConversation ( IDbTransaction transaction, System.Guid conversationHandle, int errorCode, string errorDescription ) : void
QueryMessageCount ( IDbTransaction transaction, string queueName, string messageContractName ) : int
Receive ( IDbTransaction transaction, string queueName ) : Message
Receive ( IDbTransaction transaction, string queueName, System.Guid conversationHandle ) : Message
Send ( IDbTransaction transaction, System.Guid conversationHandle, string messageType ) : void
Send ( IDbTransaction transaction, System.Guid conversationHandle, string messageType, byte body ) : void
SendOne ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, string messageType, byte body ) : System.Guid
WaitAndReceive ( IDbTransaction transaction, string queueName, System.Guid conversationHandle, int waitTimeout ) : Message
WaitAndReceive ( IDbTransaction transaction, string queueName, int waitTimeout ) : Message

Private Methods

Méthode Description
BeginConversationInternal ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, int lifetime, bool encryption ) : System.Guid
BeginTimerInternal ( IDbTransaction transaction, System.Guid conversationHandle, int timeout ) : void
CreateServiceAndQueue ( IDbTransaction transaction, string serviceName, string queueName ) : void
EndConversationInternal ( IDbTransaction transaction, System.Guid conversationHandle, bool withError, int errorCode, string errorDescription, bool withCleanup ) : void
EnsureSqlTransaction ( IDbTransaction transaction ) : void
QueryMessageCountInternal ( IDbTransaction transaction, string queueName, string messageContractName ) : int
ReceiveInternal ( IDbTransaction transaction, string queueName, System.Guid conversationHandle, bool wait, int waitTimeout ) : Message
SendInternal ( IDbTransaction transaction, System.Guid conversationHandle, string messageType, byte body ) : void
SendOneInternal ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, string messageType, byte body ) : System.Guid

Method Details

BeginConversation() public static méthode

public static BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName ) : System.Guid
transaction IDbTransaction
initiatorServiceName string
targetServiceName string
Résultat System.Guid

BeginConversation() public static méthode

public static BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName ) : System.Guid
transaction IDbTransaction
initiatorServiceName string
targetServiceName string
messageContractName string
Résultat System.Guid

BeginConversation() public static méthode

public static BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, bool encryption ) : System.Guid
transaction IDbTransaction
initiatorServiceName string
targetServiceName string
messageContractName string
encryption bool
Résultat System.Guid

BeginConversation() public static méthode

public static BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, int lifetime ) : System.Guid
transaction IDbTransaction
initiatorServiceName string
targetServiceName string
messageContractName string
lifetime int
Résultat System.Guid

BeginConversation() public static méthode

public static BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, int lifetime, bool encryption ) : System.Guid
transaction IDbTransaction
initiatorServiceName string
targetServiceName string
messageContractName string
lifetime int
encryption bool
Résultat System.Guid

BeginTimer() public static méthode

public static BeginTimer ( IDbTransaction transaction, System.Guid conversationHandle, int timeout ) : void
transaction IDbTransaction
conversationHandle System.Guid
timeout int
Résultat void

EndConversation() public static méthode

public static EndConversation ( IDbTransaction transaction, System.Guid conversationHandle ) : void
transaction IDbTransaction
conversationHandle System.Guid
Résultat void

EndConversation() public static méthode

public static EndConversation ( IDbTransaction transaction, System.Guid conversationHandle, bool withCleanup ) : void
transaction IDbTransaction
conversationHandle System.Guid
withCleanup bool
Résultat void

EndConversation() public static méthode

public static EndConversation ( IDbTransaction transaction, System.Guid conversationHandle, int errorCode, string errorDescription ) : void
transaction IDbTransaction
conversationHandle System.Guid
errorCode int
errorDescription string
Résultat void

QueryMessageCount() public static méthode

public static QueryMessageCount ( IDbTransaction transaction, string queueName, string messageContractName ) : int
transaction IDbTransaction
queueName string
messageContractName string
Résultat int

Receive() public static méthode

public static Receive ( IDbTransaction transaction, string queueName ) : Message
transaction IDbTransaction
queueName string
Résultat Message

Receive() public static méthode

public static Receive ( IDbTransaction transaction, string queueName, System.Guid conversationHandle ) : Message
transaction IDbTransaction
queueName string
conversationHandle System.Guid
Résultat Message

Send() public static méthode

public static Send ( IDbTransaction transaction, System.Guid conversationHandle, string messageType ) : void
transaction IDbTransaction
conversationHandle System.Guid
messageType string
Résultat void

Send() public static méthode

public static Send ( IDbTransaction transaction, System.Guid conversationHandle, string messageType, byte body ) : void
transaction IDbTransaction
conversationHandle System.Guid
messageType string
body byte
Résultat void

SendOne() public static méthode

public static SendOne ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName, string messageType, byte body ) : System.Guid
transaction IDbTransaction
initiatorServiceName string
targetServiceName string
messageContractName string
messageType string
body byte
Résultat System.Guid

WaitAndReceive() public static méthode

public static WaitAndReceive ( IDbTransaction transaction, string queueName, System.Guid conversationHandle, int waitTimeout ) : Message
transaction IDbTransaction
queueName string
conversationHandle System.Guid
waitTimeout int
Résultat Message

WaitAndReceive() public static méthode

public static WaitAndReceive ( IDbTransaction transaction, string queueName, int waitTimeout ) : Message
transaction IDbTransaction
queueName string
waitTimeout int
Résultat Message