Whether it is explicitly closed by the client application, or implicitly by the API, any attempt to use this map results in an OperationErrorException with ParamNullReference
IMapContainer CreateUserPropertyMap()
IMessage msg = ContextFactory.Instance.CreateMessage();
msg.CreateUserPropertyMap();
msg.UserPropertyMap.AddString("message", "5");
OperationErrorException | Thrown when the method invocation fails. ReturnCode and ErrorInfo will be accessible from OperationErrorException |
FatalErrorException | Thrown when an unrecoverable error occurs. |