C# Class Subtext.Framework.Threading.LockTimeoutException

Inheritance: System.Exception
Afficher le fichier Open project: ayende/Subtext

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
LockTimeoutException ( SerializationInfo info, StreamingContext context ) : System

Constructor.

Method Details

GetBlockingStackTrace() public méthode

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.
Résultat System.Diagnostics.StackTrace

LockTimeoutException() public méthode

Creates a new LockTimeoutException instance.
public LockTimeoutException ( ) : System
Résultat System

LockTimeoutException() protected méthode

Constructor.
protected LockTimeoutException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System

LockTimeoutException() public méthode

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

LockTimeoutException() public méthode

Constructor.
public LockTimeoutException ( string message ) : System
message string
Résultat System

LockTimeoutException() public méthode

Constructor.
public LockTimeoutException ( string message, Exception innerException ) : System
message string
innerException Exception
Résultat System

ReportStackTraceIfError() public static méthode

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

ToString() public méthode

Returns a string representation of the exception.
public ToString ( ) : string
Résultat string