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.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

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; }