ResourceReferenceKeyNotFoundException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈