This creates a FileExistsException with a message that includes the file name and an optional error message.
Namespace: VcClientExceptionsAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
public FileExistsException(
string fileName,
string error
) |
Visual Basic |
---|
Public Sub New ( _
fileName As String, _
error As String _
) |
Visual C++ |
---|
public:
FileExistsException(
String^ fileName,
String^ error
) |
Parameters
- fileName
- Type: String
The name of the file which was supposed to be created, but it already exists.
- error
- Type: String
Additional error message that needs to be added to the exception.
See Also