StorageNameValidationState Enum

Definition

Provides an enumeration used to validate a new reference name and namespace in an IVsWCFMetadataStorageProvider object.

public enum class StorageNameValidationState
public enum class StorageNameValidationState
enum StorageNameValidationState
public enum StorageNameValidationState
type StorageNameValidationState = 
Public Enum StorageNameValidationState
Inheritance
StorageNameValidationState

Fields

SNVS_ExistingNamespace 3

The namespace is already being used. If the project system supports two storages that share a single namespace, the IsValidNewReferenceName(String, String, SByte, StorageNameValidationState, String) method will return true.

SNVS_InvalidNamespace 1

The namespace is invalid for the project language. The reference name is invalid in the file system. The IsValidNewReferenceName(String, String, SByte, StorageNameValidationState, String) method will return false.

SNVS_InvalidReferenceName 4

The reference name is invalid in the file system. The IsValidNewReferenceName(String, String, SByte, StorageNameValidationState, String) method will return false.

SNVS_NewNamespace 0

The namespace is valid. The IsValidNewReferenceName(String, String, SByte, StorageNameValidationState, String) method will return true.

SNVS_ReferenceNameConflicts 5

A file (referenceName.svcmap) already exists in the directory. The IsValidNewReferenceName(String, String, SByte, StorageNameValidationState, String) method will return false.

SNVS_UnsupportedNamespace 2

The namespace is valid for the project language, but it is not supported in the current project system. The IsValidNewReferenceName(String, String, SByte, StorageNameValidationState, String) method will return false.

Remarks

The StorageNameValidationState represents return values for a new reference name and namespace. The value is returned from the IsValidNewReferenceName method and can be used to generate error messages.

Applies to