EventFileInvalidException Constructor (String, String)
Initializes a new instance of the EventFileInvalidException class with specified error message and error number.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
fileName As String _
)
'Usage
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
)
Parameters
- message
Type: System.String
The error message.
- fileName
Type: System.String
The error number.
See Also
Reference
EventFileInvalidException Class