IVsServiceReferenceMetadataStorageProvider.MakeValidServiceReferenceName Method
Returns a unique name and namespace for a XML web service reference.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Declaration
Sub MakeValidServiceReferenceName ( _
pszStorageType As String, _
pszNamespace As String, _
pszReferenceName As String, _
<OutAttribute> ByRef pbstrSuggestedNamespace As String, _
<OutAttribute> ByRef pbstrSuggestedReferenceName As String _
)
void MakeValidServiceReferenceName(
string pszStorageType,
string pszNamespace,
string pszReferenceName,
out string pbstrSuggestedNamespace,
out string pbstrSuggestedReferenceName
)
void MakeValidServiceReferenceName(
[InAttribute] String^ pszStorageType,
[InAttribute] String^ pszNamespace,
[InAttribute] String^ pszReferenceName,
[OutAttribute] String^% pbstrSuggestedNamespace,
[OutAttribute] String^% pbstrSuggestedReferenceName
)
abstract MakeValidServiceReferenceName :
pszStorageType:string *
pszNamespace:string *
pszReferenceName:string *
pbstrSuggestedNamespace:string byref *
pbstrSuggestedReferenceName:string byref -> unit
function MakeValidServiceReferenceName(
pszStorageType : String,
pszNamespace : String,
pszReferenceName : String,
pbstrSuggestedNamespace : String,
pbstrSuggestedReferenceName : String
)
Parameters
pszStorageType
Type: System.StringThe ServiceReferenceType of the XML web service reference.
pszNamespace
Type: System.StringA string that contains the namespace for the reference.
pszReferenceName
Type: System.StringA string that contains the name of the reference.
pbstrSuggestedNamespace
Type: System.String%A string that contains the new namespace for the reference.
pbstrSuggestedReferenceName
Type: System.String%A string that contains the new name of the reference.
.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.