ExcelServicesException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| ExcelServicesException() |
Initializes a new instance of the ExcelServicesException class. |
| ExcelServicesException(String) |
Initializes a new instance of the ExcelServicesException class with a specified error message. |
| ExcelServicesException(String, Exception) |
Initializes a new instance of the ExcelServicesException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
| ExcelServicesException(String, String, String) |
Initializes a new instance of the ExcelServicesException class with an error message based on Excel error information. |
| ExcelServicesException(String, Exception, String, String, String) |
Initializes a new instance of the ExcelServicesException class with a specified error message and a reference to the inner exception that is the cause of this exception, as well as Excell error information. |
ExcelServicesException()
Initializes a new instance of the ExcelServicesException class.
public ExcelServicesException ();
Public Sub New ()
Applies to
ExcelServicesException(String)
Initializes a new instance of the ExcelServicesException class with a specified error message.
public ExcelServicesException (string message);
new Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException : string -> Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
ExcelServicesException(String, Exception)
Initializes a new instance of the ExcelServicesException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ExcelServicesException (string message, Exception innerException);
new Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException : string * Exception -> Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
Applies to
ExcelServicesException(String, String, String)
Initializes a new instance of the ExcelServicesException class with an error message based on Excel error information.
public ExcelServicesException (string name, string excelStatusMessage, string severity);
new Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException : string * string * string -> Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException
Public Sub New (name As String, excelStatusMessage As String, severity As String)
Parameters
- name
- String
The error name
- excelStatusMessage
- String
The Excel status message
- severity
- String
The error severity
Applies to
ExcelServicesException(String, Exception, String, String, String)
Initializes a new instance of the ExcelServicesException class with a specified error message and a reference to the inner exception that is the cause of this exception, as well as Excell error information.
public ExcelServicesException (string message, Exception innerException, string name, string excelStatusMessage, string severity);
new Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException : string * Exception * string * string * string -> Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException
Public Sub New (message As String, innerException As Exception, name As String, excelStatusMessage As String, severity As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
- name
- String
The error name
- excelStatusMessage
- String
The Excel status message
- severity
- String
The error severity