Partager via


Constructeur EventFileInvalidException (String, String)

Initializes a new instance of the EventFileInvalidException class with specified error message and error number.

Espace de noms :  Microsoft.SqlServer.XEvent.Linq
Assembly :  Microsoft.SqlServer.XEvent.Linq (en Microsoft.SqlServer.XEvent.Linq.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String, _
    fileName As String _
)
'Utilisation
Dim message As String 
Dim fileName As String 

Dim instance As New EventFileInvalidException(message, _
    fileName)
public EventFileInvalidException(
    string message,
    string fileName
)
public:
EventFileInvalidException(
    String^ message, 
    String^ fileName
)
new : 
        message:string * 
        fileName:string -> EventFileInvalidException
public function EventFileInvalidException(
    message : String, 
    fileName : String
)

Paramètres

Voir aussi

Référence

EventFileInvalidException Classe

Surcharge EventFileInvalidException

Espace de noms Microsoft.SqlServer.XEvent.Linq