Class ViewCompositionException
Exception thrown when the application fails to assemble an ICompositeView.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 9.12.2Syntax
public class ViewCompositionException : Exception, ISerializable, _Exception
Constructors
ViewCompositionException()
Initializes a new instance of the ViewCompositionException class.
Declaration
public ViewCompositionException()
ViewCompositionException(SerializationInfo, StreamingContext)
Initializes a new instance of the ViewCompositionException class.
Declaration
protected ViewCompositionException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
ViewCompositionException(String)
Initializes a new instance of the ViewCompositionException class.
Declaration
public ViewCompositionException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message explaining the reason for the exception. |
ViewCompositionException(String, Exception)
Initializes a new instance of the ViewCompositionException class.
Declaration
public ViewCompositionException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message explaining the reason for the exception. |
System.Exception | innerException | The exception that is the cause of this exception, or null. |