CMListener.Destroy
Method
Visual Basic
Overloads Public SubDestroy
()
Overloads Public SubDestroy
(
ByVal cancelAgreements As Boolean);
C#
public void overrideDestroy
();
public voidDestroy
(
bool cancelAgreements );
Purpose
Destroy a certified delivery listener.
Parameter |
Description |
cancelAgreements
|
When absent, the default value is |
Canceling Agreements
When destroying a certified delivery listener, a program can either cancel its certified delivery agreements with senders, or let those agreements persist (so a successor listener can receive the messages covered by those agreements).
When canceling agreements, each (previously) certified sender transport receives a REGISTRATION.CLOSED
advisory. Successor listeners cannot receive old messages.