Called before a message flow deploy is committed.

C# | Visual Basic | Visual C++ | F# |
public virtual void OnInitialize()
Public Overridable Sub OnInitialize
public: virtual void OnInitialize()
abstract OnInitialize : unit -> unit override OnInitialize : unit -> unit

This method can optionally be overridden to provide place for initialization to be performed before the node starts processing
messages. If this method throws an exception, the message flow deploy will fail as the exception will cause the deployment to be rolled back.