EventFileIOException Constructor (String, Int32)
Initializes a new instance of the EventFileIOException 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, _
osError As Integer _
)
'Usage
Dim message As String
Dim osError As Integer
Dim instance As New EventFileIOException(message, _
osError)
public EventFileIOException(
string message,
int osError
)
public:
EventFileIOException(
String^ message,
int osError
)
new :
message:string *
osError:int -> EventFileIOException
public function EventFileIOException(
message : String,
osError : int
)
Parameters
- message
Type: System.String
The error message.
- osError
Type: System.Int32
The error number.