Share via


IVsWCFMetadataStorageProvider.IsValidNewReferenceName Method

Definition

Returns a value that determines whether a name for a Windows Communication Foundation (WCF) service reference is unique.

public:
 void IsValidNewReferenceName(System::String ^ pszNamespace, System::String ^ pszReferenceName, [Runtime::InteropServices::Out] System::SByte % pbValid, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::StorageNameValidationState % pValidationState, [Runtime::InteropServices::Out] System::String ^ % pbstrMessage);
void IsValidNewReferenceName(std::wstring const & pszNamespace, std::wstring const & pszReferenceName, [Runtime::InteropServices::Out] SByte & pbValid, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::StorageNameValidationState & pValidationState, [Runtime::InteropServices::Out] std::wstring const & & pbstrMessage);
public void IsValidNewReferenceName (string pszNamespace, string pszReferenceName, out sbyte pbValid, out Microsoft.VisualStudio.WCFReference.Interop.StorageNameValidationState pValidationState, out string pbstrMessage);
abstract member IsValidNewReferenceName : string * string * sbyte * StorageNameValidationState * string -> unit
Public Sub IsValidNewReferenceName (pszNamespace As String, pszReferenceName As String, ByRef pbValid As SByte, ByRef pValidationState As StorageNameValidationState, ByRef pbstrMessage As String)

Parameters

pszNamespace
String

A string that contains the namespace for the reference.

pszReferenceName
String

A string that contains the name of the reference.

pbValid
SByte

true if the name is valid; otherwise false.

pbstrMessage
String

A string that contains an error message. Can be Null.

Applies to