C# Class Microsoft.KtmIntegration.TransactedDirectory

Exibir arquivo Open project: beefarino/TxF Class Usage Examples

Public Methods

Method Description
CreateDirectory ( string path ) : bool
CreateTxFResource ( string path ) : void
Exists ( string path ) : bool
GetFiles ( string path, string searchPattern ) : System.IO.FileSystemInfo[]
RemoveDirectory ( string path ) : bool
StartTxFResource ( string path ) : SafeFileHandle
StopTxFResource ( string path ) : void

Private Methods

Method Description
FindFirstFileTransacted ( string dirSpec, KtmTransactionHandle ktmTx, NativeMethods &findFileData ) : SafeFileHandle
GetDirectoryHandle ( string path ) : SafeFileHandle

Method Details

CreateDirectory() public static method

public static CreateDirectory ( string path ) : bool
path string
return bool

CreateTxFResource() public static method

public static CreateTxFResource ( string path ) : void
path string
return void

Exists() public static method

public static Exists ( string path ) : bool
path string
return bool

GetFiles() public static method

public static GetFiles ( string path, string searchPattern ) : System.IO.FileSystemInfo[]
path string
searchPattern string
return System.IO.FileSystemInfo[]

RemoveDirectory() public static method

public static RemoveDirectory ( string path ) : bool
path string
return bool

StartTxFResource() public static method

public static StartTxFResource ( string path ) : SafeFileHandle
path string
return SafeFileHandle

StopTxFResource() public static method

public static StopTxFResource ( string path ) : void
path string
return void