Dev2.DynamicServices.FileSystemInstanceStore.EndTryCommand C# (CSharp) Method

EndTryCommand() protected method

protected EndTryCommand ( IAsyncResult ar ) : bool
ar IAsyncResult
return bool
        protected override bool EndTryCommand(IAsyncResult ar)
        {
            InstanceStoreAsyncResult result = ar as InstanceStoreAsyncResult;
            if(result != null)
            {
                Exception exception = result.Exception;
                if(exception != null)
                {
                    throw exception;
                }
            }

            return true;
        }