InstancePersistenceCommand.Validate(InstanceView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates the command.
protected public:
virtual void Validate(System::Runtime::DurableInstancing::InstanceView ^ view);
protected internal virtual void Validate (System.Runtime.DurableInstancing.InstanceView view);
abstract member Validate : System.Runtime.DurableInstancing.InstanceView -> unit
override this.Validate : System.Runtime.DurableInstancing.InstanceView -> unit
Protected Friend Overridable Sub Validate (view As InstanceView)
Parameters
- view
- InstanceView
An InstanceView object representing the current state of the instance handle.
Remarks
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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru