Click or drag to resize

DirectoryMoveTransacted Method

Overload List
  NameDescription
Public methodStatic memberMoveTransacted(KernelTransaction, String, String)
[AlphaFS] Moves a file or a directory and its contents to a new location.
Remarks

This method does not work across disk volumes.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberMoveTransacted(KernelTransaction, String, String, MoveOptions)
[AlphaFS] Moves a file or a directory and its contents to a new location, MoveOptions can be specified.
Remarks

This method does not work across disk volumes unless moveOptions contains CopyAllowed.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberMoveTransacted(KernelTransaction, String, String, PathFormat)
[AlphaFS] Moves a file or a directory and its contents to a new location.
Remarks

This method does not work across disk volumes.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberMoveTransacted(KernelTransaction, String, String, MoveOptions, PathFormat)
[AlphaFS] Moves a file or a directory and its contents to a new location, MoveOptions can be specified.
Remarks

This method does not work across disk volumes unless moveOptions contains CopyAllowed.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberMoveTransacted(KernelTransaction, String, String, MoveOptions, CopyMoveProgressRoutine, Object)
[AlphaFS] Moves a file or a directory and its contents to a new location, MoveOptions can be specified, and the possibility of notifying the application of its progress through a callback function.
Remarks

This method does not work across disk volumes unless moveOptions contains CopyAllowed.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberMoveTransacted(KernelTransaction, String, String, MoveOptions, CopyMoveProgressRoutine, Object, PathFormat)
[AlphaFS] Moves a file or a directory and its contents to a new location, MoveOptions can be specified, and the possibility of notifying the application of its progress through a callback function.

Return Value

Type: 
A CopyMoveResult class with the status of the Move action.
Remarks

This method does not work across disk volumes unless moveOptions contains CopyAllowed.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Top
See Also