StorageNameValidationState Enumeration

 

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

Namespace:   Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

public enum StorageNameValidationState

Member nameDescription
SNVS_ExistingNamespace

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

SNVS_InvalidNamespace

The namespace is invalid for the project language. The reference name is invalid in the file system. The IsValidNewReferenceName method will return false.

SNVS_InvalidReferenceName

The reference name is invalid in the file system. The IsValidNewReferenceName method will return false.

SNVS_NewNamespace

The namespace is valid. The IsValidNewReferenceName method will return true.

SNVS_ReferenceNameConflicts

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

SNVS_UnsupportedNamespace

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

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.

Return to top
Show: