IVsWCFMetadataStorageProvider.MakeValidReferenceName Method
Returns a unique name and namespace for a Windows Communication Foundation (WCF) service reference.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'宣言
Sub MakeValidReferenceName ( _
pszNamespace As String, _
pszReferenceName As String, _
<OutAttribute> ByRef pbstrSuggestedNamespace As String, _
<OutAttribute> ByRef pbstrSuggestedReferenceName As String _
)
void MakeValidReferenceName(
string pszNamespace,
string pszReferenceName,
out string pbstrSuggestedNamespace,
out string pbstrSuggestedReferenceName
)
void MakeValidReferenceName(
[InAttribute] String^ pszNamespace,
[InAttribute] String^ pszReferenceName,
[OutAttribute] String^% pbstrSuggestedNamespace,
[OutAttribute] String^% pbstrSuggestedReferenceName
)
abstract MakeValidReferenceName :
pszNamespace:string *
pszReferenceName:string *
pbstrSuggestedNamespace:string byref *
pbstrSuggestedReferenceName:string byref -> unit
function MakeValidReferenceName(
pszNamespace : String,
pszReferenceName : String,
pbstrSuggestedNamespace : String,
pbstrSuggestedReferenceName : 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.
- 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.