CreateTempFileNameAsync Method
In This Topic
Creates a unique file name given the parameters. Note the theoretical race condition since the file name is only guaranteed to be unique at the point it is generated.
Syntax
'Declaration
Public Shared Function CreateTempFileNameAsync( _
ByVal As Windows.Storage.StorageFolder, _
Optional ByVal As System.String, _
Optional ByVal As System.String, _
Optional ByVal As System.String _
) As System.Threading.Tasks.Task(Of String)
public static System.Threading.Tasks.Task<string> CreateTempFileNameAsync(
Windows.Storage.StorageFolder ,
System.string ,
System.string ,
System.string
)
Parameters
- folder
- extension
- prefix
- suffix
See Also