This creates a FileExistsException with a message that includes the file name and an exception information.

Namespace: VcClientExceptions
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public FileExistsException(
	string fileName,
	Exception innerException
)
Visual Basic
Public Sub New ( _
	fileName As String, _
	innerException As Exception _
)
Visual C++
public:
FileExistsException(
	String^ fileName, 
	Exception^ innerException
)

Parameters

fileName
Type: String
The name of the file which was supposed to be created, but it already exists.
innerException
Type: Exception
Any exception. Most likely this is the exception that caused the FileExistsException to be thrown

See Also