IVsWCFReferenceGroup.AsyncUpdate Method

Definition

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

C++/CX
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);

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

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022