Class DuplicateRatingException
The DuplicateRatingException represents an error occurring when an attempt is made to add a rating which already exists for the same item and user.
Inheritance
System.Object
System.Exception
DuplicateRatingException
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.Ratings.Core
Assembly: EPiServer.Social.Ratings.Core.dll
Version: 1.5.4Syntax
public class DuplicateRatingException : Exception, ISerializable, _Exception
Constructors
DuplicateRatingException(String)
Constructor
Declaration
public DuplicateRatingException(string message = "A rating already exists for the specified combination of target and rater")
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | Error message |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception