Class CreateInstanceException
Exception thrown when the creation of an instance fails.
Inheritance
Inherited Members
Namespace:Extend
Assembly:Extend.dll
Syntax
public class CreateInstanceException : Exception
Constructors
| Improve this Doc View SourceCreateInstanceException(String)
Initializes a new instance of the CreateInstanceException class.
Declaration
public CreateInstanceException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
CreateInstanceException(String, Exception)
Initializes a new instance of the CreateInstanceException class.
Declaration
public CreateInstanceException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
CreateInstanceException(String, Exception, String, String, IMemberInformation)
Initializes a new instance of the CreateInstanceException class.
Declaration
public CreateInstanceException(string message, Exception innerException, string factoryInformation, string selectionRuleInformation, IMemberInformation memberInformation)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
System.String | factoryInformation | Information about the factories. |
System.String | selectionRuleInformation | Information about selection rules. |
IMemberInformation | memberInformation | The current member. |
Properties
| Improve this Doc View SourceFactoryInformation
Gets information about the factories.
Declaration
public string FactoryInformation { get; }
Property Value
Type | Description |
---|---|
System.String | Information about the factories. |
MemberInformation
Gets information about the member.
Declaration
public IMemberInformation MemberInformation { get; }
Property Value
Type | Description |
---|---|
IMemberInformation | Information about the member. |
SelectionRuleRuleInformation
Gets information about the selection.
Declaration
public string SelectionRuleRuleInformation { get; }
Property Value
Type | Description |
---|---|
System.String | Information about the selection rules. |
Methods
| Improve this Doc View SourceToString()
Creates and returns a string representation of the current exception.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string representation of the current exception. |