C# Класс IServiceOriented.ServiceBus.MessageDelivery

Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
CreateRetry ( bool resetRetryCount, System.DateTime timeToDeliver ) : MessageDelivery

Create a retry message based off of this message.

CreateRetry ( bool resetRetryCount, System.DateTime timeToDeliver, Exception exception ) : MessageDelivery

Create a retry message based off of this message.

The exception will be attached to the message context.

MessageDelivery ( System.Guid subscriptionEndpointId, Type contractType, string action, object message, int maxRetries, MessageDeliveryContext context ) : System
MessageDelivery ( string messageId, System.Guid subscriptionEndpointId, Type contractType, string action, object message, int maxRetries, int retryCount, System.DateTime timeToProcess, MessageDeliveryContext context, System.DateTime mustDeliverBy ) : System

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

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

Create a retry message based off of this message.
public CreateRetry ( bool resetRetryCount, System.DateTime timeToDeliver ) : MessageDelivery
resetRetryCount bool Whether or not to reset the retry count.
timeToDeliver System.DateTime Time to deliver the retry message.
Результат MessageDelivery

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

Create a retry message based off of this message.
The exception will be attached to the message context.
public CreateRetry ( bool resetRetryCount, System.DateTime timeToDeliver, Exception exception ) : MessageDelivery
resetRetryCount bool Whether or not to reset the retry count.
timeToDeliver System.DateTime Time to deliver the retry message.
exception System.Exception The exception that caused the retry.
Результат MessageDelivery

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

public MessageDelivery ( System.Guid subscriptionEndpointId, Type contractType, string action, object message, int maxRetries, MessageDeliveryContext context ) : System
subscriptionEndpointId System.Guid
contractType System.Type
action string
message object
maxRetries int
context MessageDeliveryContext
Результат System

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

public MessageDelivery ( string messageId, System.Guid subscriptionEndpointId, Type contractType, string action, object message, int maxRetries, int retryCount, System.DateTime timeToProcess, MessageDeliveryContext context, System.DateTime mustDeliverBy ) : System
messageId string
subscriptionEndpointId System.Guid
contractType System.Type
action string
message object
maxRetries int
retryCount int
timeToProcess System.DateTime
context MessageDeliveryContext
mustDeliverBy System.DateTime
Результат System