C# Class Subtext.Framework.Threading.LockTimeoutException

Inheritance: System.Exception
显示文件 Open project: ayende/Subtext

Public Methods

Method Description
GetBlockingStackTrace ( int timeout ) : StackTrace

Stack trace of the thread that holds a lock on the object this lock is attempting to acquire when it fails.

LockTimeoutException ( ) : System

Creates a new LockTimeoutException instance.

LockTimeoutException ( object lockTarget ) : System

Creates a new LockTimeoutException instance.

Use this exception.

LockTimeoutException ( string message ) : System

Constructor.

LockTimeoutException ( string message, Exception innerException ) : System

Constructor.

ReportStackTraceIfError ( object lockTarget ) : void

Sets the stack trace for the given lock target if an error occurred.

ToString ( ) : string

Returns a string representation of the exception.

Protected Methods

Method Description
LockTimeoutException ( SerializationInfo info, StreamingContext context ) : System

Constructor.

Method Details

GetBlockingStackTrace() public method

Stack trace of the thread that holds a lock on the object this lock is attempting to acquire when it fails.
public GetBlockingStackTrace ( int timeout ) : StackTrace
timeout int Number of milliseconds to wait for the blocking stack trace.
return System.Diagnostics.StackTrace

LockTimeoutException() public method

Creates a new LockTimeoutException instance.
public LockTimeoutException ( ) : System
return System

LockTimeoutException() protected method

Constructor.
protected LockTimeoutException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

LockTimeoutException() public method

Creates a new LockTimeoutException instance.
Use this exception.
public LockTimeoutException ( object lockTarget ) : System
lockTarget object Object we tried to lock.
return System

LockTimeoutException() public method

Constructor.
public LockTimeoutException ( string message ) : System
message string
return System

LockTimeoutException() public method

Constructor.
public LockTimeoutException ( string message, Exception innerException ) : System
message string
innerException Exception
return System

ReportStackTraceIfError() public static method

Sets the stack trace for the given lock target if an error occurred.
public static ReportStackTraceIfError ( object lockTarget ) : void
lockTarget object Lock target.
return void

ToString() public method

Returns a string representation of the exception.
public ToString ( ) : string
return string