FreeSWITCH.Native.freeswitchPINVOKE.SWIGPendingException.Retrieve C# (CSharp) Method

Retrieve() public static method

public static Retrieve ( ) : Exception
return System.Exception
            public static Exception Retrieve()
            {
                Exception e = null;
                  if (numExceptionsPending > 0) {
                if (pendingException != null) {
                  e = pendingException;
                  pendingException = null;
                  lock(typeof(freeswitchPINVOKE)) {
                numExceptionsPending--;
                  }
                }
                  }
                  return e;
            }
freeswitchPINVOKE.SWIGPendingException