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
声明
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
- 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: 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.
Remarks
When the VSHPROPID_ServiceReferenceSupported property of the client project is false or the property is not supported, the method fails.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.