次の方法で共有


DiagnosticManagerRemovedEventArgs(Int32, IReadOnlyList<Int32>) Constructor

Definition

Initializes a new instance of the DiagnosticManagerRemovedEventArgs class.

public:
 DiagnosticManagerRemovedEventArgs(int serverState, System::Collections::Generic::IReadOnlyList<int> ^ diagnosticManagerIds);
public DiagnosticManagerRemovedEventArgs (int serverState, System.Collections.Generic.IReadOnlyList<int> diagnosticManagerIds);
new Microsoft.VisualStudio.RpcContracts.DiagnosticManagement.DiagnosticManagerRemovedEventArgs : int * System.Collections.Generic.IReadOnlyList<int> -> Microsoft.VisualStudio.RpcContracts.DiagnosticManagement.DiagnosticManagerRemovedEventArgs
Public Sub New (serverState As Integer, diagnosticManagerIds As IReadOnlyList(Of Integer))

Parameters

serverState
Int32

Server state after updating the diagnostics (this is a counter that is incremented every time there is a change on the server you can use to determine the relative ordering between this event and the diagnostics reported via RequestDiagnosticsAsync(IProgress<DiagnosticReport>, CancellationToken).

diagnosticManagerIds
IReadOnlyList<Int32>

IDs of the removed managers.

Applies to