PackageSourceNotFoundException
Namespace: AnyPackage.Provider
The PackageSourceNotFoundException class.
public class PackageSourceNotFoundException : PackageProviderException, System.Runtime.Serialization.ISerializable
Inheritance Object → Exception → PackageProviderException → PackageSourceNotFoundException
Implements ISerializable
Properties
SourceName
Gets the source name.
public string SourceName { get; }
Property Value
Message
Gets the exception message.
public string Message { get; }
Property Value
TargetSite
public MethodBase TargetSite { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Constructors
PackageSourceNotFoundException()
Instantiates the PackageSourceNotFoundException class.
public PackageSourceNotFoundException()
PackageSourceNotFoundException(String)
Instantiates the PackageSourceNotFoundException class.
public PackageSourceNotFoundException(string sourceName)
Parameters
sourceName String
Specifies the source name.
PackageSourceNotFoundException(String, String)
Instantiates the PackageSourceNotFoundException class.
public PackageSourceNotFoundException(string sourceName, string message)
Parameters
sourceName String
Specifies the source name.
message String
Specifies the message.
PackageSourceNotFoundException(String, Exception)
Instantiates the PackageSourceNotFoundException class.
public PackageSourceNotFoundException(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.