C# 클래스 XamarinCRM.Extensions.ExceptionExtensions

파일 보기 프로젝트 열기: xamarin/app-crm

공개 메소드들

메소드 설명
ToFormattedDebugMessage ( this ex, Type callingClassType ) : string

Gets a formatted string with the calling class name, exception message, and stack trace.

ToFormattedDebugMessage ( this ex, object callingClass ) : string

Gets a formatted string with the calling class name, exception message, and stack trace.

WriteFormattedMessageToDebugConsole ( this ex, Type callingClassType ) : void

Writes a formatted string to the debug output with the calling class name, exception message, and stack trace.

WriteFormattedMessageToDebugConsole ( this ex, object callingClass ) : void

Writes a formatted string to the debug output with the calling class name, exception message, and stack trace.

메소드 상세

ToFormattedDebugMessage() 공개 정적인 메소드

Gets a formatted string with the calling class name, exception message, and stack trace.
public static ToFormattedDebugMessage ( this ex, Type callingClassType ) : string
ex this The .
callingClassType System.Type The of the calling class. Usually you'll pass 'typeof(CallingClass)' for this parameter.
리턴 string

ToFormattedDebugMessage() 공개 정적인 메소드

Gets a formatted string with the calling class name, exception message, and stack trace.
public static ToFormattedDebugMessage ( this ex, object callingClass ) : string
ex this The .
callingClass object The class in which the exception was thrown. Usually you'll use the 'this' keyword for this parameter.
리턴 string

WriteFormattedMessageToDebugConsole() 공개 정적인 메소드

Writes a formatted string to the debug output with the calling class name, exception message, and stack trace.
public static WriteFormattedMessageToDebugConsole ( this ex, Type callingClassType ) : void
ex this The .
callingClassType System.Type The of the calling class. Usually you'll pass 'typeof(CallingClass)' for this parameter.
리턴 void

WriteFormattedMessageToDebugConsole() 공개 정적인 메소드

Writes a formatted string to the debug output with the calling class name, exception message, and stack trace.
public static WriteFormattedMessageToDebugConsole ( this ex, object callingClass ) : void
ex this The .
callingClass object The class in which the exception was thrown. Usually you'll use the 'this' keyword for this parameter.
리턴 void