TraceLoggingService.BeginStop Method
Begins an asynchronous stop of the service.
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)
Syntax
'Declaration
Public Function BeginStop ( _
userCallback As AsyncCallback, _
stateObject As Object _
) As IAsyncResult
public IAsyncResult BeginStop(
AsyncCallback userCallback,
Object stateObject
)
public:
IAsyncResult^ BeginStop(
AsyncCallback^ userCallback,
Object^ stateObject
)
member BeginStop :
userCallback:AsyncCallback *
stateObject:Object -> IAsyncResult
public function BeginStop(
userCallback : AsyncCallback,
stateObject : Object
) : IAsyncResult
Parameters
userCallback
Type: AsyncCallbackThe method to be called when the asynchronous stop operation is completed.
stateObject
Type: ObjectA user-provided object that distinguishes this particular asynchronous stop request from other requests.
Return Value
Type: IAsyncResult
.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.