Xceed .NET Libraries Documentation
ItemAlreadyExistsException Constructor(String,FileSystemItem)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > ItemAlreadyExistsException Class > ItemAlreadyExistsException Constructor : ItemAlreadyExistsException Constructor(String,FileSystemItem)
The error message that explains the reason for the exception.
The FileSystemItem object that caused the current exception.
Initializes a new instance of the exception with the specified message text and FileSystemItem object.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal item As FileSystemItem _
)
'Usage
 
Dim message As String
Dim item As FileSystemItem
 
Dim instance As New ItemAlreadyExistsException(message, item)
public ItemAlreadyExistsException( 
   string message,
   FileSystemItem item
)

Parameters

message
The error message that explains the reason for the exception.
item
The FileSystemItem object that caused the current exception.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ItemAlreadyExistsException Class
ItemAlreadyExistsException Members
Overload List