protected ZLibException ( |
||
info | The SerializationInfo that holds the serialized object data about the exception being thrown. | |
context | The StreamingContext that contains contextual information about the source or destination. | |
Результат | System.Runtime.Serialization |
protected ZLibException(SerializationInfo info, StreamingContext context) :
base(info, context)
{
string errContext = info.GetString("zlibErrorContext");
ZLibNative.ErrorCode errCode = (ZLibNative.ErrorCode)info.GetInt32("zlibErrorCode");
string errMessage = info.GetString("zlibErrorMessage");
Init(errContext, errCode, errMessage);
}