PackageProviderNotFoundException

Namespace: AnyPackage.Provider

The PackageProviderNotFoundException class.

public class PackageProviderNotFoundException : PackageProviderException, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionPackageProviderExceptionPackageProviderNotFoundException
Implements ISerializable

Properties

ProviderName

Gets the provider name.

public string ProviderName { get; }

Property Value

String

Message

Gets the exception message.

public string Message { get; }

Property Value

String

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

PackageProviderNotFoundException()

Instantiates the PackageProviderNotFoundException class.

public PackageProviderNotFoundException()

PackageProviderNotFoundException(String)

Instantiates the PackageProviderNotFoundException class.

public PackageProviderNotFoundException(string providerName)

Parameters

providerName String
Specifies the provider name.

PackageProviderNotFoundException(String, String)

Instantiates the PackageProviderNotFoundException class.

public PackageProviderNotFoundException(string providerName, string message)

Parameters

providerName String
Specifies the provider name.

message String
Specifies the message.

PackageProviderNotFoundException(String, Exception)

Instantiates the PackageProviderNotFoundException class.

public PackageProviderNotFoundException(string message, Exception innerException)

Parameters

message String
Specifies the message.

innerException Exception
Specifies the inner exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Deserializes the properties.

public void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
Serialized info.

context StreamingContext
Streaming context.