Skip to main content
Corvus Connection

OnConnectionFailed

Attribute
TheOmenDen.StreamPulse.Scripting.Attributes.OnConnectionFailedAttributeMarks a method as a handler fired when a connection attempt fails (spec 023). Fires once per outage (the first failed attempt); retries do not re-fire, though the attempt count still increments internally. Fires for every applicable source; read e.Source to branch. The method must accept (IScriptContext, ConnectionHealthContext). See OnChatMessageAttribute for the supported return types.