Share via


IVsWCFReferenceGroup.AsyncUpdate Method

Definition

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

public:
 void AsyncUpdate(Microsoft::VisualStudio::Shell::Interop::IDiscoverySession ^ pDiscoverySession, Microsoft::VisualStudio::WCFReference::Interop::IVsWCFCompletionCallback ^ pCallback, System::Object ^ punknownCustomState, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::IVsWCFAsyncResult ^ % ppResult);
public:
 void AsyncUpdate(Microsoft::VisualStudio::Shell::Interop::IDiscoverySession ^ pDiscoverySession, Microsoft::VisualStudio::WCFReference::Interop::IVsWCFCompletionCallback ^ pCallback, Platform::Object ^ punknownCustomState, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::IVsWCFAsyncResult ^ &  ppResult);
void AsyncUpdate(Microsoft::VisualStudio::Shell::Interop::IDiscoverySession const & pDiscoverySession, Microsoft::VisualStudio::WCFReference::Interop::IVsWCFCompletionCallback const & pCallback, winrt::Windows::Foundation::IInspectable const & punknownCustomState, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::IVsWCFAsyncResult const & & ppResult);
public void AsyncUpdate (Microsoft.VisualStudio.Shell.Interop.IDiscoverySession pDiscoverySession, Microsoft.VisualStudio.WCFReference.Interop.IVsWCFCompletionCallback pCallback, object punknownCustomState, out Microsoft.VisualStudio.WCFReference.Interop.IVsWCFAsyncResult ppResult);
abstract member AsyncUpdate : Microsoft.VisualStudio.Shell.Interop.IDiscoverySession * Microsoft.VisualStudio.WCFReference.Interop.IVsWCFCompletionCallback * obj * IVsWCFAsyncResult -> unit
Public Sub AsyncUpdate (pDiscoverySession As IDiscoverySession, pCallback As IVsWCFCompletionCallback, punknownCustomState As Object, ByRef ppResult As IVsWCFAsyncResult)

Parameters

pDiscoverySession
IDiscoverySession

The IDiscoverySession to use. Can be Null.

pCallback
IVsWCFCompletionCallback

A IVsWCFCompletionCallback interface to use for notification.

punknownCustomState
Object

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

ppResult
IVsWCFAsyncResult

A IVsWCFAsyncResult interface that contains the results.

Remarks

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

Applies to