C# 클래스 SharpCifs.Smb.SmbException

There are hundreds of error codes that may be returned by a CIFS server.
There are hundreds of error codes that may be returned by a CIFS server. Rather than represent each with it's own Exception class, this class represents all of them. For many of the popular error codes, constants and text messages like "The device is not ready" are provided.

The jCIFS client maps DOS error codes to NTSTATUS codes. This means that the user may recieve a different error from a legacy server than that of a newer varient such as Windows NT and above. If you should encounter such a case, please report it to jcifs at samba dot org and we will change the mapping.

상속: System.IO.IOException
파일 보기 프로젝트 열기: brandonprry/Potato 1 사용 예제들

공개 메소드들

메소드 설명
GetNtStatus ( ) : int
GetRootCause ( ) : Exception
SmbException ( ) : System
SmbException ( int errcode, bool winerr ) : System
SmbException ( string msg ) : System
SmbException ( string msg, Exception rootCause ) : System
ToString ( ) : string

비공개 메소드들

메소드 설명
GetMessageByCode ( int errcode ) : string
GetMessageByWinerrCode ( int errcode ) : string
GetStatusByCode ( int errcode ) : int
SmbException ( int errcode, Exception rootCause ) : System

메소드 상세

GetNtStatus() 공개 메소드

public GetNtStatus ( ) : int
리턴 int

GetRootCause() 공개 메소드

public GetRootCause ( ) : Exception
리턴 System.Exception

SmbException() 공개 메소드

public SmbException ( ) : System
리턴 System

SmbException() 공개 메소드

public SmbException ( int errcode, bool winerr ) : System
errcode int
winerr bool
리턴 System

SmbException() 공개 메소드

public SmbException ( string msg ) : System
msg string
리턴 System

SmbException() 공개 메소드

public SmbException ( string msg, Exception rootCause ) : System
msg string
rootCause System.Exception
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string