Class ViewRegistrationException
Exception that's thrown when something goes wrong while Registering a View with a region name in the Sartorius.SAF.Presentation.Regions.RegionViewRegistry class.
Inheritance
Implements
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Serializable]
public class ViewRegistrationException : Exception, ISerializable
Constructors
View SourceViewRegistrationException()
Initializes a new instance of the ViewRegistrationException class.
Declaration
public ViewRegistrationException()
ViewRegistrationException(SerializationInfo, StreamingContext)
Initializes a new instance of the ViewRegistrationException class with serialized data.
Declaration
protected ViewRegistrationException(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. |
ViewRegistrationException(String)
Initializes a new instance of the ViewRegistrationException class.
Declaration
public ViewRegistrationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
ViewRegistrationException(String, Exception)
Initializes a new instance of the ViewRegistrationException class.
Declaration
public ViewRegistrationException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
System.Exception | inner | The inner exception. |