XEventFileSerializer Constructor
Initializes a new instance of the XEventFileSerializer class with the specified file name.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Public Sub New ( _
fileName As String _
)
'Usage
Dim fileName As String
Dim instance As New XEventFileSerializer(fileName)
public XEventFileSerializer(
string fileName
)
public:
XEventFileSerializer(
String^ fileName
)
new :
fileName:string -> XEventFileSerializer
public function XEventFileSerializer(
fileName : String
)
Parameters
- fileName
Type: System.String
The name of the file.