C# Class System.IO.Compression.ZLibException.ZLibException

Inheritance: IOException, ISerializable
显示文件 Open project: mahasak/dotnet452

Public Methods

Method Description
ZLibException ( ) : System.Runtime.Serialization

This constructor is provided in compliance with common NetFx design patterns; developers should prefer using the constructor public ZLibException(string message, string zlibErrorContext, ZLibNative.ErrorCode zlibErrorCode, string zlibErrorMessage).

ZLibException ( string message ) : System.Runtime.Serialization

This constructor is provided in compliance with common NetFx design patterns; developers should prefer using the constructor public ZLibException(string message, string zlibErrorContext, ZLibNative.ErrorCode zlibErrorCode, string zlibErrorMessage).

ZLibException ( string message, Exception inner ) : System.Runtime.Serialization

This constructor is provided in compliance with common NetFx design patterns; developers should prefer using the constructor public ZLibException(string message, string zlibErrorContext, ZLibNative.ErrorCode zlibErrorCode, string zlibErrorMessage).

ZLibException ( string message, string zlibErrorContext, int zlibErrorCode, string zlibErrorMessage ) : System.Runtime.Serialization

This is the preferred constructor to use. The other constructors are provided for compliance to Fx design guidelines.

Private Methods

Method Description
ISerializable ( SerializationInfo si, StreamingContext context ) : void
Init ( ) : void
Init ( string zlibErrorContext, System.IO.Compression.ZLibNative.ErrorCode zlibErrorCode, string zlibErrorMessage ) : void
ZLibException ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization

Method Details

ZLibException() public method

This constructor is provided in compliance with common NetFx design patterns; developers should prefer using the constructor public ZLibException(string message, string zlibErrorContext, ZLibNative.ErrorCode zlibErrorCode, string zlibErrorMessage).
public ZLibException ( ) : System.Runtime.Serialization
return System.Runtime.Serialization

ZLibException() public method

This constructor is provided in compliance with common NetFx design patterns; developers should prefer using the constructor public ZLibException(string message, string zlibErrorContext, ZLibNative.ErrorCode zlibErrorCode, string zlibErrorMessage).
public ZLibException ( string message ) : System.Runtime.Serialization
message string The error message that explains the reason for the exception.
return System.Runtime.Serialization

ZLibException() public method

This constructor is provided in compliance with common NetFx design patterns; developers should prefer using the constructor public ZLibException(string message, string zlibErrorContext, ZLibNative.ErrorCode zlibErrorCode, string zlibErrorMessage).
public ZLibException ( string message, Exception inner ) : System.Runtime.Serialization
message string The error message that explains the reason for the exception.
inner Exception The exception that is the cause of the current exception, or a null.
return System.Runtime.Serialization

ZLibException() public method

This is the preferred constructor to use. The other constructors are provided for compliance to Fx design guidelines.
public ZLibException ( string message, string zlibErrorContext, int zlibErrorCode, string zlibErrorMessage ) : System.Runtime.Serialization
message string A (localised) human readable error description.
zlibErrorContext string A description of the context within zlib where the error occured (e.g. the function name).
zlibErrorCode int The error code returned by a ZLib function that casued this exception.
zlibErrorMessage string The string provided by ZLib as error information (unloicalised).
return System.Runtime.Serialization