Table of Contents

ValidateOptions Method

Definition

Namespace
Savvyio.Extensions.SimpleQueueService
Assemblies
Savvyio.Extensions.SimpleQueueService.dll
Source
src/Savvyio.Extensions.SimpleQueueService/AmazonMessageOptions.cs

ValidateOptions()

Determines whether the public read-write properties of this instance are in a valid state.

public void ValidateOptions()

Remarks

This method is expected to throw exceptions when one or more conditions fails to be in a valid state.

Exceptions

InvalidOperationException

Credentials cannot be null - or - Endpoint cannot be null - or - SourceQueue cannot be null - or - ReceiveContext cannot be null -or- ClientConfigurations is initialized but does not have a length of 2 or the expected elements of type Amazon.SQS.AmazonSQSConfig or Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceConfig.