Skip to content

UnsafePackageEntryException

Namespace: Dotsider.Core.Analysis

Assembly: Dotsider.Core.dll

The exception that is thrown when a package entry cannot be safely extracted beneath its destination directory.

public sealed class UnsafePackageEntryException : IOException, ISerializable

ObjectExceptionSystemExceptionIOExceptionUnsafePackageEntryException

Initializes a new instance of the UnsafePackageEntryException class.

public UnsafePackageEntryException()

UnsafePackageEntryException(string?, Exception?)

Section titled “UnsafePackageEntryException(string?, Exception?)”

Initializes a new instance of the UnsafePackageEntryException class with a specified error message and a reference to the inner exception that caused this exception.

Parameters:

  • message (String): The message that describes the error.
  • innerException (Exception): The exception that caused the current exception, or null.
public UnsafePackageEntryException(string? message, Exception? innerException)

Initializes a new instance of the UnsafePackageEntryException class with a specified error message.

Parameters:

  • message (String): The message that describes the error.
public UnsafePackageEntryException(string? message)