ExtensionsDirectoryInfoCreateFileAsync Method (DirectoryInfo, String) |
Namespace: Cauldron
public static Task<FileInfo> CreateFileAsync( this DirectoryInfo directoryInfo, string desiredName )
Exception | Condition |
---|---|
ArgumentNullException | desiredName is null |
ArgumentException | desiredName is empty |