string IerrorMessage; long status;
The two following methods, which request execution of a collaboration, can throw the IExecuteCollaborationError exception:
This exception contains a public int variable called status to indicate the details of when the exception occurred. The Server Access Interface provides execution-status constants to represent the possible values of this status variable. The execution-status constants for this exception are listed in Table 11
To obtain this value, dereference your exception variable as follows:
this_exception_name_caught.status