WebLogic Messaging API Class Library

IContext. Method 

Closes this context but does not close other resources related to this context. This method releases this context's resources immediately, instead of waiting for them to be released automatically by the garbage collector.

This method is idempotent: invoking it on a context that has already been closed has no effect. Invoking any other method on a closed context is not allowed, and results in undefined behaviour.

void ();

Exceptions

Exception TypeCondition
MessageExceptionif a naming exception is encountered

See Also

IContext Interface | WebLogic.Messaging Namespace | CloseAll