IVsWCFMetadataStorageProvider.IsValidNewReferenceName Method
Returns a value that determines whether a name for a Windows Communication Foundation (WCF) service reference is unique.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Déclaration
Sub IsValidNewReferenceName ( _
pszNamespace As String, _
pszReferenceName As String, _
<OutAttribute> ByRef pbValid As SByte, _
<OutAttribute> ByRef pValidationState As StorageNameValidationState, _
<OutAttribute> ByRef pbstrMessage As String _
)
void IsValidNewReferenceName(
string pszNamespace,
string pszReferenceName,
out sbyte pbValid,
out StorageNameValidationState pValidationState,
out string pbstrMessage
)
void IsValidNewReferenceName(
[InAttribute] String^ pszNamespace,
[InAttribute] String^ pszReferenceName,
[OutAttribute] signed char% pbValid,
[OutAttribute] StorageNameValidationState% pValidationState,
[OutAttribute] String^% pbstrMessage
)
abstract IsValidNewReferenceName :
pszNamespace:string *
pszReferenceName:string *
pbValid:sbyte byref *
pValidationState:StorageNameValidationState byref *
pbstrMessage:string byref -> unit
function IsValidNewReferenceName(
pszNamespace : String,
pszReferenceName : String,
pbValid : sbyte,
pValidationState : StorageNameValidationState,
pbstrMessage : String
)
Parameters
- pszNamespace
Type: System.String
A string that contains the namespace for the reference.
- pszReferenceName
Type: System.String
A string that contains the name of the reference.
- pbValid
Type: System.SByte%
true if the name is valid; otherwise false.
- pValidationState
Type: Microsoft.VisualStudio.WCFReference.Interop.StorageNameValidationState%
A StorageNameValidationState object.
- pbstrMessage
Type: System.String%
A string that contains an error message. Can be Null.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.