IVsWCFReferenceGroup::AsyncUpdate Method (IDiscoverySession^, IVsWCFCompletionCallback^, Object^, IVsWCFAsyncResult^)

 

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)

void AsyncUpdate(
	IDiscoverySession^ pDiscoverySession,
	IVsWCFCompletionCallback^ pCallback,
	Object^ punknownCustomState,
	[OutAttribute] IVsWCFAsyncResult^% ppResult
)

Parameters

pDiscoverySession
Type: Microsoft.VisualStudio.Shell.Interop::IDiscoverySession^

The IDiscoverySession to use. Can be Null.

pCallback
Type: Microsoft.VisualStudio.WCFReference.Interop::IVsWCFCompletionCallback^

A IVsWCFCompletionCallback interface to use for notification.

punknownCustomState
Type: System::Object^

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

ppResult
Type: Microsoft.VisualStudio.WCFReference.Interop::IVsWCFAsyncResult^

A IVsWCFAsyncResult interface that contains the results.

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

Return to top
Show: