Skip to main content

CabException Class

Exception class for cabinet operations.

Methods

MethodDescription
GetObjectData(info, context)Sets the SerializationInfo with information about the exception.

Properties

PropertyDescription
ErrorGets the FCI or FDI cabinet engine error number.
ErrorCodeGets the Win32 error code.

WixToolset.Dtf.Compression.Cab.dll version 5.0.1+2f00cbe680fb01ab485d56f16de9cd19b133f875

GetObjectData(info, context) Method

Sets the SerializationInfo with information about the exception.

Declaration

public void GetObjectData(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context
)

Parameters

ParameterTypeDescription
infoSystem.Runtime.Serialization.SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextSystem.Runtime.Serialization.StreamingContextThe StreamingContext that contains contextual information about the source or destination.

Error Property

Gets the FCI or FDI cabinet engine error number.

Declaration

public int Error { get; set; } 

ErrorCode Property

Gets the Win32 error code.

Declaration

public int ErrorCode { get; set; }