C# Класс ServiceBrokerDotNet.ServiceBrokerWrapper

Показать файл Открыть проект

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

Метод Описание
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

Приватные методы

Метод Описание
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

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

BeginConversation() публичный статический Метод

public static BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName ) : System.Guid
transaction IDbTransaction
initiatorServiceName string
targetServiceName string
Результат System.Guid

BeginConversation() публичный статический Метод

public static BeginConversation ( IDbTransaction transaction, string initiatorServiceName, string targetServiceName, string messageContractName ) : System.Guid
transaction IDbTransaction
initiatorServiceName string
targetServiceName string
messageContractName string
Результат System.Guid

BeginConversation() публичный статический Метод

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
Результат System.Guid

BeginConversation() публичный статический Метод

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
Результат System.Guid

BeginConversation() публичный статический Метод

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
Результат System.Guid

BeginTimer() публичный статический Метод

public static BeginTimer ( IDbTransaction transaction, System.Guid conversationHandle, int timeout ) : void
transaction IDbTransaction
conversationHandle System.Guid
timeout int
Результат void

EndConversation() публичный статический Метод

public static EndConversation ( IDbTransaction transaction, System.Guid conversationHandle ) : void
transaction IDbTransaction
conversationHandle System.Guid
Результат void

EndConversation() публичный статический Метод

public static EndConversation ( IDbTransaction transaction, System.Guid conversationHandle, bool withCleanup ) : void
transaction IDbTransaction
conversationHandle System.Guid
withCleanup bool
Результат void

EndConversation() публичный статический Метод

public static EndConversation ( IDbTransaction transaction, System.Guid conversationHandle, int errorCode, string errorDescription ) : void
transaction IDbTransaction
conversationHandle System.Guid
errorCode int
errorDescription string
Результат void

QueryMessageCount() публичный статический Метод

public static QueryMessageCount ( IDbTransaction transaction, string queueName, string messageContractName ) : int
transaction IDbTransaction
queueName string
messageContractName string
Результат int

Receive() публичный статический Метод

public static Receive ( IDbTransaction transaction, string queueName ) : Message
transaction IDbTransaction
queueName string
Результат Message

Receive() публичный статический Метод

public static Receive ( IDbTransaction transaction, string queueName, System.Guid conversationHandle ) : Message
transaction IDbTransaction
queueName string
conversationHandle System.Guid
Результат Message

Send() публичный статический Метод

public static Send ( IDbTransaction transaction, System.Guid conversationHandle, string messageType ) : void
transaction IDbTransaction
conversationHandle System.Guid
messageType string
Результат void

Send() публичный статический Метод

public static Send ( IDbTransaction transaction, System.Guid conversationHandle, string messageType, byte body ) : void
transaction IDbTransaction
conversationHandle System.Guid
messageType string
body byte
Результат void

SendOne() публичный статический Метод

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
Результат System.Guid

WaitAndReceive() публичный статический Метод

public static WaitAndReceive ( IDbTransaction transaction, string queueName, System.Guid conversationHandle, int waitTimeout ) : Message
transaction IDbTransaction
queueName string
conversationHandle System.Guid
waitTimeout int
Результат Message

WaitAndReceive() публичный статический Метод

public static WaitAndReceive ( IDbTransaction transaction, string queueName, int waitTimeout ) : Message
transaction IDbTransaction
queueName string
waitTimeout int
Результат Message