Google Apps Security and Compliance Services Web Services Application Programming Interface Guide, Early Access Version 1.5 User Manual

Page 32

Advertising
background image

30

Message Security and Compliance Application Programming Interface Guide RELEASE EA version 1.5

//Display the web service output

MessageBox.Show("Successfully added new user.");

}

catch (System.Web.Services.Protocols.SoapException ex)

{

String realSoapExceptionName =

ex.Detail.FirstChild.LocalName;

String realSoapExceptionMessage =

ex.Detail.FirstChild.InnerText;

MessageBox.Show("Unable to add new user - unexpected exception

'" + realSoapExceptionName + "' - " +

realSoapExceptionMessage);

return;

}

Advertising