C# Class IServiceOriented.ServiceBus.MessageDelivery

Mostrar archivo Open project: jezell/iserviceoriented Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
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

Method Details

CreateRetry() public method

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.
return MessageDelivery

CreateRetry() public method

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.
return MessageDelivery

MessageDelivery() public method

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
return System

MessageDelivery() public method

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
return System