Condividi tramite


Costruttore XmlSerializationException (String, Exception, Int32, Int32)

Initializes a new instance of XmlSerializationException class using a message string, the inner Exception received, a line number, and line position.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    lineNumber As Integer, _
    linePosition As Integer _
)
'Utilizzo
Dim message As String 
Dim innerException As Exception 
Dim lineNumber As Integer 
Dim linePosition As Integer 

Dim instance As New XmlSerializationException(message, _
    innerException, lineNumber, linePosition)
public XmlSerializationException(
    string message,
    Exception innerException,
    int lineNumber,
    int linePosition
)
public:
XmlSerializationException(
    String^ message, 
    Exception^ innerException, 
    int lineNumber, 
    int linePosition
)
new : 
        message:string * 
        innerException:Exception * 
        lineNumber:int * 
        linePosition:int -> XmlSerializationException
public function XmlSerializationException(
    message : String, 
    innerException : Exception, 
    lineNumber : int, 
    linePosition : int
)

Parametri

  • message
    Tipo: System.String
    A String with the message to display.
  • innerException
    Tipo: System.Exception
    The inner exception object received with current exception.
  • lineNumber
    Tipo: System.Int32
    An Integer value with the line number where the exception occurred.
  • linePosition
    Tipo: System.Int32
    An Integer value with the line position where the exception occurred.

Vedere anche

Riferimento

XmlSerializationException Classe

Overload XmlSerializationException

Spazio dei nomi Microsoft.AnalysisServices