Table of Contents

ValidateOptions Method

Definition

Namespace
Savvyio.Messaging
Assemblies
Savvyio.Messaging.dll
Source
src/Savvyio.Messaging/MessageOptions.cs

ValidateOptions()

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

public virtual void ValidateOptions()

Remarks

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

Exceptions

InvalidOperationException

MessageId cannot be null, empty or consist only of white-space characters - or - Time (when set) was not expressed as the Coordinated Universal Time (UTC).