CodePorting.Translator.Cs2Cpp.Framework
|
TargetInvocationException is thrown by methods invoked through reflection. Never create instances of this class manually. Use the TargetInvocationException class instead. Never wrap the TargetInvocationException class instances into System::SmartPtr. More...
#include <target_invocation_exception.h>
Inherits Details_ApplicationException.
Protected Types | |
using | BaseType = System::Details_ApplicationException |
Protected Member Functions | |
Details_TargetInvocationException () | |
Initializes a new instance of the Details_TargetInvocationException class. More... | |
Details_TargetInvocationException (const String &message) | |
Initializes a new instance of the Details_TargetInvocationException class with a specified error message. More... | |
Details_TargetInvocationException (const String &message, const System::ExceptionWrapper< System::Details_Exception > &innerException) | |
Initializes a new instance of the Details_TargetInvocationException class with error message and an inner exception that is the cause of this exception. More... | |
Details_TargetInvocationException (const System::ExceptionWrapper< System::Details_Exception > &innerException) | |
Initializes a new instance of the Details_TargetInvocationException class with default error message and an inner exception that is the cause of this exception. More... | |
Details_TargetInvocationException (const System::SharedPtr< System::Runtime::Serialization::SerializationInfo > &info, System::Runtime::Serialization::StreamingContext context) | |
Initializes a new instance of the Details_TargetInvocationException class from the serialization information captured at the streaming context. More... | |
void | DoThrow (const System::ExceptionPtr &self) const override |
TargetInvocationException is thrown by methods invoked through reflection. Never create instances of this class manually. Use the TargetInvocationException class instead. Never wrap the TargetInvocationException class instances into System::SmartPtr.
|
protected |
|
protected |
Initializes a new instance of the Details_TargetInvocationException class.
|
protected |
Initializes a new instance of the Details_TargetInvocationException class with a specified error message.
message | The message that describes the error. |
|
protected |
Initializes a new instance of the Details_TargetInvocationException class with error message and an inner exception that is the cause of this exception.
message | The message describing the exception. |
innerException | The exception that is the cause of the current exception. If the inner parameter is not null, the current exception is raised in a catch block that handles the inner exception. |
|
protected |
Initializes a new instance of the Details_TargetInvocationException class with default error message and an inner exception that is the cause of this exception.
innerException | The exception that is the cause of the current exception. If the inner parameter is not null, the current exception is raised in a catch block that handles the inner exception. |
|
protected |
Initializes a new instance of the Details_TargetInvocationException class from the serialization information captured at the streaming context.
info | The serialization information. |
context | The streaming context. |
|
overrideprotected |