Asposecpplib

Inherits Details_SystemException.

Public Member Functions

const System::TypeInfoGetType () const override
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
bool Is (const System::TypeInfo &target) const override
 

Static Public Member Functions

static const System::TypeInfoType ()
 

Protected Types

using BaseType = System::Details_SystemException
 

Protected Member Functions

 Details_AssertionException ()
 
 Details_AssertionException (const System::String &message)
 
 Details_AssertionException (const System::String &message, const System::ExceptionWrapper< System::Details_Exception > &innerException)
 
 Details_AssertionException (const System::SharedPtr< System::Runtime::Serialization::SerializationInfo > &info, System::Runtime::Serialization::StreamingContext context)
 
void DoThrow (const System::ExceptionPtr &self) const override
 Throws exception instance wrapped by exception wrapper. More...
 

Member Typedef Documentation

◆ BaseType

Constructor & Destructor Documentation

◆ Details_AssertionException() [1/4]

NUnit::Framework::Details_AssertionException::Details_AssertionException ( )
inlineprotected

Constructs a new instance.

◆ Details_AssertionException() [2/4]

NUnit::Framework::Details_AssertionException::Details_AssertionException ( const System::String message)
inlineprotected

Constructs a new instance.

Parameters
messageThe error description.

◆ Details_AssertionException() [3/4]

NUnit::Framework::Details_AssertionException::Details_AssertionException ( const System::String message,
const System::ExceptionWrapper< System::Details_Exception > &  innerException 
)
inlineprotected

Constructs a new instance.

Parameters
messageThe error description.
innerExceptionThe inner exception.

◆ Details_AssertionException() [4/4]

NUnit::Framework::Details_AssertionException::Details_AssertionException ( const System::SharedPtr< System::Runtime::Serialization::SerializationInfo > &  info,
System::Runtime::Serialization::StreamingContext  context 
)
inlineprotected

Deserializes exception.

Parameters
infoSerializationInfo object holding serialized exception.
contextStreaming context bound to serialization info passed.

Member Function Documentation

◆ DoThrow()

void NUnit::Framework::Details_AssertionException::DoThrow ( const System::ExceptionPtr self) const
inlineoverrideprotected

Throws exception instance wrapped by exception wrapper.

Parameters
selfException instance to be thrown.

◆ GetType()

const System::TypeInfo& NUnit::Framework::Details_AssertionException::GetType ( ) const
inlineoverride

Gets actual type of object. Analog of C# System.Object.GetType() call.

Returns
TypeInfo object which describes final type.

◆ Is()

bool NUnit::Framework::Details_AssertionException::Is ( const System::TypeInfo target) const
inlineoverride

Check if object represents an instance of type described by targetType. Analog of C# 'is' operator.

Parameters
targetTypeInfo structure describing the type to test current object against.
Returns
True if object is of tagged type or its subclass, false otherwise.

◆ Type()

static const System::TypeInfo& NUnit::Framework::Details_AssertionException::Type ( )
inlinestatic

Returns information about the current type.

Returns
Information about the current type.