Class InvalidCommentException

The InvalidCommentException class represents an error occurring when a user attempts to create or modify a comment, which contains invalid data.

Inheritance
System.Object
System.Exception
InvalidCommentException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Comments.Core
Assembly: EPiServer.Social.Comments.Core.dll
Version: 1.5.4
Syntax
public class InvalidCommentException : Exception, ISerializable, _Exception

Constructors

InvalidCommentException()

Constructor

Declaration
public InvalidCommentException()

InvalidCommentException(InvalidCommentErrorCode)

Constructor

Declaration
public InvalidCommentException(InvalidCommentErrorCode errorCode)
Parameters
Type Name Description
InvalidCommentErrorCode errorCode

Code identifying the error, which has occurred.

Properties

ErrorCode

Gets the code identifying the type of error, which has occurred.

Declaration
public InvalidCommentErrorCode ErrorCode { get; }
Property Value
Type Description
InvalidCommentErrorCode

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
arrow_upward