EventFileInvalidException 建構函式 (String, String)
Initializes a new instance of the EventFileInvalidException class with specified error message and error number.
命名空間: Microsoft.SqlServer.XEvent.Linq
組件: Microsoft.SqlServer.XEvent.Linq (在 Microsoft.SqlServer.XEvent.Linq.dll 中)
語法
'宣告
Public Sub New ( _
message As String, _
fileName As String _
)
'用途
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
)
參數
- message
型別:System.String
The error message.
- fileName
型別:System.String
The error number.