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)

Syntax

'Declaration
Public Enumeration StorageNameValidationState
public enum StorageNameValidationState
public enum class StorageNameValidationState
type StorageNameValidationState
public enum StorageNameValidationState

Members

Member name Description
SNVS_NewNamespace The namespace is valid. 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_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.
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_InvalidReferenceName The reference name is invalid in the file system. The IsValidNewReferenceName method will return false.
SNVS_ReferenceNameConflicts A file (referenceName.svcmap) already exists in the directory. The IsValidNewReferenceName 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.

See Also

Reference

Microsoft.VisualStudio.WCFReference.Interop Namespace