Microsoft.Azure.Commands.StreamAnalytics.StreamAnalyticsBaseCmdlet.WriteExceptionError C# (CSharp) Method

WriteExceptionError() protected method

protected WriteExceptionError ( Exception exception ) : void
exception System.Exception
return void
        protected override void WriteExceptionError(Exception exception)
        {
            // Override the default error message into a formatted message which contains Request Id
            CloudException cloudException = exception as CloudException;
            if (cloudException != null)
            {
                exception = cloudException.CreateFormattedException();
            }

            base.WriteExceptionError(exception);
        }