IVsWCFReferenceGroup.AsyncUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.