Overview | Destroys a naming context. |
Original interface | CosNaming::NamingContext Interface |
Exceptions | CORBA
standard exceptions and the following user exception:
|
Intended Usage
This operation is used by client applications and 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.
Syntax
void destroy();
Input parameters
None.
Return values
None.
Example
See the CosNaming Usage example for BindingIterator::destroy.