Class EPiServerCancelException
An exception class that indicates that an action has been cancelled, for instance by an event handler.
Inherited Members
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class EPiServerCancelException : EPiServerException
Constructors
EPiServerCancelException()
Initializes a new instance of the EPi
Declaration
public EPiServerCancelException()
EPiServerCancelException(SerializationInfo, StreamingContext)
Initializes a new instance of the Access
Declaration
protected EPiServerCancelException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | The object that holds the serialized object data. |
System. |
context | The contextual information about the source or destination. |
EPiServerCancelException(String)
Initializes a new instance of the EPi
Declaration
public EPiServerCancelException(string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message. |
EPiServerCancelException(String, ContentEventArgs)
Initializes a new instance of the EPi
Declaration
public EPiServerCancelException(string message, ContentEventArgs contentArgs)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message. |
Content |
contentArgs | The Content |
EPiServerCancelException(String, PageEventArgs)
Initializes a new instance of the EPi
Declaration
public EPiServerCancelException(string message, PageEventArgs pageArgs)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message. |
Page |
pageArgs | The Page |
EPiServerCancelException(String, Exception)
Initializes the new instance of EPi
Declaration
public EPiServerCancelException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The error message that explains the reason for the exception. |
System. |
innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
Properties
ContentArgs
Gets the content event arguments that might contain information why the action was cancelled.
Declaration
public ContentEventArgs ContentArgs { get; set; }
Property Value
Type | Description |
---|---|
Content |
The content event arguments. |