Validates the command.
Assembly: System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)
Commands override Validate to ensure that a command is valid to execute at the current time. Implementations should throw an InvalidOperationException if the command is not valid to execute against the InstanceView passed as a parameter. The Validate method is called by InstanceStore before the command is passed to InstanceStore.TryCommand.