Class NameValidator
- Namespace
- Microsoft.WindowsAzure.Storage
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Provides helpers to validate resource names across the Microsoft Azure Storage Services.
public static class NameValidator
- Inheritance
-
NameValidator
- Inherited Members
Methods
ValidateBlobName(string)
Checks if a blob name is valid.
public static void ValidateBlobName(string blobName)
Parameters
blobName
stringA string representing the blob name to validate.
ValidateContainerName(string)
Checks if a container name is valid.
public static void ValidateContainerName(string containerName)
Parameters
containerName
stringA string representing the container name to validate.
ValidateDirectoryName(string)
Checks if a directory name is valid.
public static void ValidateDirectoryName(string directoryName)
Parameters
directoryName
stringA string representing the directory name to validate.
ValidateFileName(string)
Checks if a file name is valid.
public static void ValidateFileName(string fileName)
Parameters
fileName
stringA string representing the file name to validate.
ValidateQueueName(string)
Checks if a queue name is valid.
public static void ValidateQueueName(string queueName)
Parameters
queueName
stringA string representing the queue name to validate.
ValidateShareName(string)
Checks if a share name is valid.
public static void ValidateShareName(string shareName)
Parameters
shareName
stringA string representing the share name to validate.
ValidateTableName(string)
Checks if a table name is valid.
public static void ValidateTableName(string tableName)
Parameters
tableName
stringA string representing the table name to validate.