Class VanityUrlPathCollisionException
Thrown when the new web page vanity URL path conflicts with the URL path of another web page.
[Serializable]
public sealed class VanityUrlPathCollisionException : Exception
- Inheritance
-
objectExceptionVanityUrlPathCollisionException
- Extension Methods
Constructors
VanityUrlPathCollisionException()
Initializes a new instance of VanityUrlPathCollisionException.
public VanityUrlPathCollisionException()
VanityUrlPathCollisionException(string)
Initializes a new instance of VanityUrlPathCollisionException.
public VanityUrlPathCollisionException(string message)
Parameters
message
stringThe message that describes the error.
VanityUrlPathCollisionException(string, IEnumerable<CollisionData>)
Initializes a new instance of VanityUrlPathCollisionException.
public VanityUrlPathCollisionException(string message, IEnumerable<CollisionData> collisions)
Parameters
message
stringThe message that describes the error.
collisions
IEnumerable<CollisionData>List of colliding URL paths.
VanityUrlPathCollisionException(string, IEnumerable<CollisionData>, Exception)
Initializes a new instance of VanityUrlPathCollisionException.
public VanityUrlPathCollisionException(string message, IEnumerable<CollisionData> collisions, Exception inner)
Parameters
message
stringThe message that describes the error.
collisions
IEnumerable<CollisionData>List of colliding URL paths.
inner
ExceptionInner exception.
Properties
Collisions
Gets web page URL path collisions.
public IEnumerable<CollisionData> Collisions { get; }
Property Value
- IEnumerable<CollisionData>