Skip to main content

ResultInvalidOperationException

Namespace: Bogoware.Monads

Base exception for invalid operation performed against a Result<TValue>.

public class ResultInvalidOperationException : System.InvalidOperationException, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionSystemExceptionInvalidOperationExceptionResultInvalidOperationException
Implements ISerializable

Properties

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

ResultInvalidOperationException(String)

protected ResultInvalidOperationException(string message)

Parameters

message String

Events

SerializeObjectState

Caution

BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.


protected event EventHandler<SafeSerializationEventArgs> SerializeObjectState;