OperationException OperationException Class

Represents an exception whose stack trace should, by default, not be reported by the commands.

Syntax

Declaration

public class OperationException : Exception, ISerializable, _ExceptionPublic Class OperationException
    Inherits Exception
    Implements ISerializable, _Exception

Inheritance Hierarchy

  • System.Object
    System.Object
  • System.Exception
    System.Exception
  • OperationException
    OperationException

Inherited Members

GetBaseException(),
GetBaseException(),
ToString(),
ToString(),
GetObjectData(SerializationInfo, StreamingContext),
GetObjectData(SerializationInfo, StreamingContext),
GetType(),
GetType(),
Message,
Message,
Data,
Data,
InnerException,
InnerException,
TargetSite,
TargetSite,
StackTrace,
StackTrace,
HelpLink,
HelpLink,
Source,
Source,
HResult,
HResult,
SerializeObjectState,
SerializeObjectState,
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Constructors

  • OperationException(String)
    OperationException(String)
    public OperationException(string message)Public Sub New(message As String)

    Parameters

    • message
      System.String
      System.String
  • OperationException(String, Exception)
    OperationException(String, Exception)
    public OperationException(string message, Exception innerException)Public Sub New(message As String, innerException As Exception)

    Parameters

    • message
      System.String
      System.String
    • innerException
      System.Exception
      System.Exception

Details

Assembly

Microsoft.EntityFrameworkCore.Design.dll