FileIsLockedTransacted Method (KernelTransaction, String) |
[AlphaFS] Determines whether the specified file is in use (locked).
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static bool IsLockedTransacted(
KernelTransaction transaction,
string path
)
Public Shared Function IsLockedTransacted (
transaction As KernelTransaction,
path As String
) As Boolean
public:
static bool IsLockedTransacted(
KernelTransaction^ transaction,
String^ path
)
static member IsLockedTransacted :
transaction : KernelTransaction *
path : string -> bool
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file to check.
Return Value
Type:
BooleanReturns
if the specified file is in use (locked); otherwise,
Exceptions See Also