Table of Contents

Class Test2Exception

Namespace
MarymoorStudios.Core.Rpc.Exceptions
Assembly
MarymoorStudios.Core.Rpc.Exceptions.dll

An exception used in testing for type-based error discrimination.

[DataContract]
public sealed class Test2Exception : Exception, ISerializable, IEquatable<Test2Exception>
Inheritance
Test2Exception
Implements
Inherited Members

Constructors

Test2Exception()

public Test2Exception()

Test2Exception(string?)

public Test2Exception(string? message)

Parameters

message string

Test2Exception(string?, Exception?)

public Test2Exception(string? message, Exception? inner)

Parameters

message string
inner Exception

Methods

Equals(Test2Exception?)

public bool Equals(Test2Exception? other)

Parameters

other Test2Exception

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(Test2Exception?, Test2Exception?)

public static bool operator ==(Test2Exception? left, Test2Exception? right)

Parameters

left Test2Exception
right Test2Exception

Returns

bool

operator !=(Test2Exception?, Test2Exception?)

public static bool operator !=(Test2Exception? left, Test2Exception? right)

Parameters

left Test2Exception
right Test2Exception

Returns

bool