閱讀英文

共用方式為


IVsWCFReferenceManagerFactory.IsReferenceManagerSupported Method

Returns a value that determines whether a project supports Windows Communication Foundation (WCF) service references.

Namespace:  Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

Syntax

'宣告
Function IsReferenceManagerSupported ( _
    pHierProject As IVsHierarchy _
) As Integer
int IsReferenceManagerSupported(
    IVsHierarchy pHierProject
)
int IsReferenceManagerSupported(
    [InAttribute] IVsHierarchy^ pHierProject
)
abstract IsReferenceManagerSupported : 
        pHierProject:IVsHierarchy -> int 
function IsReferenceManagerSupported(
    pHierProject : IVsHierarchy
) : int

Parameters

Return Value

Type: Int32
0 if WCF service references are not supported; otherwise any non-zero Integer.

Remarks

Call this method before you try to use the GetReferenceManager method to create a WCF reference manager.

.NET Framework Security

See Also

Reference

IVsWCFReferenceManagerFactory Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace