Table of Contents

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 string

A string representing the blob name to validate.

ValidateContainerName(string)

Checks if a container name is valid.

public static void ValidateContainerName(string containerName)

Parameters

containerName string

A string representing the container name to validate.

ValidateDirectoryName(string)

Checks if a directory name is valid.

public static void ValidateDirectoryName(string directoryName)

Parameters

directoryName string

A string representing the directory name to validate.

ValidateFileName(string)

Checks if a file name is valid.

public static void ValidateFileName(string fileName)

Parameters

fileName string

A string representing the file name to validate.

ValidateQueueName(string)

Checks if a queue name is valid.

public static void ValidateQueueName(string queueName)

Parameters

queueName string

A string representing the queue name to validate.

ValidateShareName(string)

Checks if a share name is valid.

public static void ValidateShareName(string shareName)

Parameters

shareName string

A string representing the share name to validate.

ValidateTableName(string)

Checks if a table name is valid.

public static void ValidateTableName(string tableName)

Parameters

tableName string

A string representing the table name to validate.