Class InterceptionDelayToken
The delay token to release a message that was delayed with the Delay(out InterceptionDelayToken) result.
Namespace: Agents.Net
Assembly: Agents.Net.dll
Syntax
public class InterceptionDelayToken : object
Methods
| Improve this Doc View SourceRelease(DelayTokenReleaseIntention)
Release the message. After this the intercepted message will be send.
Declaration
public void Release(DelayTokenReleaseIntention intention = DelayTokenReleaseIntention.Publish)
Parameters
Type | Name | Description |
---|---|---|
DelayTokenReleaseIntention | intention | Indicates whether to publish the delayed message or not. |
Remarks
If at least one InterceptionDelayToken returns the intention DoNotPublish the delayed message is not published.