/// <summary>
 /// Constructor to create a <code>GoogleDesktopException</code> from a <code>COMException</code>.
 /// Note that this is the only way a <code>GoogleDesktopException</code> may be instantiated.
 /// </summary>
 /// <param name="e">exception that was thrown by the COM Interop Assembly while executing a GoogleDesktop request.</param>
 public GoogleDesktopException(COMException e)
     : base(e.Message, e)
 {
     _err = GetErrorCode(e);
 }
Пример #2
0
 /// <summary>
 /// Constructor to create a <code>GoogleDesktopException</code> from a <code>COMException</code>.
 /// Note that this is the only way a <code>GoogleDesktopException</code> may be instantiated.
 /// </summary>
 /// <param name="e">exception that was thrown by the COM Interop Assembly while executing a GoogleDesktop request.</param>
 public GoogleDesktopException(COMException e)
     : base(e.Message, e)
 {
     _err = GetErrorCode(e);
 }