C# 클래스 Bloom.NonFatalProblem

Provides a way to note a problem in the log and, depending on channel, notify the user.
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

공개 메소드들

메소드 설명
Report ( ModalIf modalThreshold, PassiveIf passiveThreshold, string shortUserLevelMessage = null, string moreDetails = null, Exception exception = null ) : void

Always log, possibly inform the user, possibly throw the exception

비공개 메소드들

메소드 설명
Matches ( ModalIf threshold ) : IEnumerable
ShowToast ( string shortUserLevelMessage, Exception exception, string fullDetailedMessage ) : void

메소드 상세

Report() 공개 정적인 메소드

Always log, possibly inform the user, possibly throw the exception
public static Report ( ModalIf modalThreshold, PassiveIf passiveThreshold, string shortUserLevelMessage = null, string moreDetails = null, Exception exception = null ) : void
modalThreshold ModalIf Will show a modal dialog if the channel is this or lower
passiveThreshold PassiveIf Ignored for now
shortUserLevelMessage string Simple message that fits in small toast notification
moreDetails string Info adds information about the problem, which we get if they report the problem
exception System.Exception
리턴 void