ServiceManager/Utility/StatusResponse.cs
/// <summary>Gets the first error detail contained in the given <paramref name="status"/>.</summary>
/// <param name="status">The status.</param>
/// <returns>The first error detail found in the given <paramref name="status"/></returns>
Gets the first error detail contained in the given .
Gets the first error detail contained in the given .
public static StatusDetail GetStatusError(Status status)
        {
            StatusDetail[] details = GetStatusDetails(status, StatusDetailType.ERROR);
            if (details.Length > 0)
                return details[0];
            else
                return null;
        }
public static StatusDetail GetStatusError ( Status status ) { StatusDetail [ ] details = GetStatusDetails ( status , StatusDetailType . ERROR ) ; if ( details . Length > 0 ) return details [ 0 ] ; else return null ; }
Gets the first error detail contained in the given .
Gets the first error detail contained in the given .
The first error detail found in the given
The first error detail found in the given
status
Status
None