![]() |
Overview Destroys a naming context. Original interface CosNaming::NamingContext Interface Exceptions CORBA standard exceptions and the following user exception:
- CosNaming::NamingContext::NotEmpty
- Raised if the naming context contains any bindings.
Intended Usage
This operation is intended to be used by client applications. It is not typically overridden.
This operation destroys the naming context if the context is empty. The naming context cannot contain bindings for this operation to succeed. It is the responsibility of the client to ensure that all bindings have been removed from the naming context before invoking this operation. Use the unbind operation to remove any bindings in the naming context; for more information, refer to the unbind Operation.
IDL Syntax
void destroy();
Input parameters
None.
Return values
None.
Example
See the CosNaming Usage example for BindingIterator::destroy.