Redigera

Dela via


ResourceReferenceKeyNotFoundException Constructors

Definition

Initializes a new instance of the ResourceReferenceKeyNotFoundException class.

Overloads

ResourceReferenceKeyNotFoundException()

Initializes a new instance of the ResourceReferenceKeyNotFoundException class.

ResourceReferenceKeyNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the ResourceReferenceKeyNotFoundException class with the specified serialization information and streaming context.

ResourceReferenceKeyNotFoundException(String, Object)

Initializes a new instance of the ResourceReferenceKeyNotFoundException class with the specified error message and resource key.

ResourceReferenceKeyNotFoundException()

Initializes a new instance of the ResourceReferenceKeyNotFoundException class.

public:
 ResourceReferenceKeyNotFoundException();
public ResourceReferenceKeyNotFoundException ();
Public Sub New ()

Applies to

ResourceReferenceKeyNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the ResourceReferenceKeyNotFoundException class with the specified serialization information and streaming context.

protected:
 ResourceReferenceKeyNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ResourceReferenceKeyNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.ResourceReferenceKeyNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.ResourceReferenceKeyNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Specific information from the serialization process.

context
StreamingContext

The context at the time the exception was thrown.

Applies to

ResourceReferenceKeyNotFoundException(String, Object)

Initializes a new instance of the ResourceReferenceKeyNotFoundException class with the specified error message and resource key.

public:
 ResourceReferenceKeyNotFoundException(System::String ^ message, System::Object ^ resourceKey);
public ResourceReferenceKeyNotFoundException (string message, object resourceKey);
new System.Windows.ResourceReferenceKeyNotFoundException : string * obj -> System.Windows.ResourceReferenceKeyNotFoundException
Public Sub New (message As String, resourceKey As Object)

Parameters

message
String

A possible descriptive message.

resourceKey
Object

The key that was not found.

Applies to