Share via


IVsWCFReferenceGroup.AsyncUpdate Method

Updates a Windows Communication Foundation (WCF) service reference asynchronously.

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

Syntax

'Declaration
Sub AsyncUpdate ( _
    pDiscoverySession As IDiscoverySession, _
    pCallback As IVsWCFCompletionCallback, _
    punknownCustomState As Object, _
    <OutAttribute> ByRef ppResult As IVsWCFAsyncResult _
)
void AsyncUpdate(
    IDiscoverySession pDiscoverySession,
    IVsWCFCompletionCallback pCallback,
    Object punknownCustomState,
    out IVsWCFAsyncResult ppResult
)
void AsyncUpdate(
    [InAttribute] IDiscoverySession^ pDiscoverySession, 
    [InAttribute] IVsWCFCompletionCallback^ pCallback, 
    [InAttribute] Object^ punknownCustomState, 
    [OutAttribute] IVsWCFAsyncResult^% ppResult
)
abstract AsyncUpdate : 
        pDiscoverySession:IDiscoverySession * 
        pCallback:IVsWCFCompletionCallback * 
        punknownCustomState:Object * 
        ppResult:IVsWCFAsyncResult byref -> unit
function AsyncUpdate(
    pDiscoverySession : IDiscoverySession, 
    pCallback : IVsWCFCompletionCallback, 
    punknownCustomState : Object, 
    ppResult : IVsWCFAsyncResult
)

Parameters

  • punknownCustomState
    Type: Object

    A custom state object that can be accessed from the IVsWCFAsyncResult interface. Can be Null.

Remarks

When the VSHPROPID_ServiceReferenceSupported property of the client project is false or the property is not supported, the method fails.

.NET Framework Security

See Also

Reference

IVsWCFReferenceGroup Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace