Open topic with navigation

TIBCO Rendezvous® 8.7.0

# VectorListener.Destroy

Method

## Visual Basic

    Overrideable Public Sub Destroy()

## C#

    public virtual void Destroy();

## Purpose

Destroy a listener, canceling interest.

## Remarks

Destroying a vector listener cancels interest in its subject. Upon return from VectorListener.Destroy, the destroyed listener is no longer dispatched. However, all active event handlers of this listener continue to run and return normally, even though the listener is invalid.

It is legal for an event handler to destroy its own listener.

Destroying listener interest invalidates the listener object; subsequent API calls involving the invalid listener throw exceptions, unless explicitly documented to the contrary.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.