CancellableEnumerator Constructor

This element is introduced in Windows PowerShell 5.0.


Namespace: Microsoft.OneGet.Utility.Collections
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

'Usage
Dim cts As ByRefCancellationTokenSource
Dim enumerator As IEnumerator

Dim instance As New CancellableEnumerator(Of T)(cts, enumerator)

public CancellableEnumerator (
	ByRefCancellationTokenSource cts,
	IEnumerator enumerator
)
public CancellableEnumerator (
	ByRefCancellationTokenSource cts, 
	IEnumerator enumerator
)
public function CancellableEnumerator (
	cts : ByRefCancellationTokenSource, 
	enumerator : IEnumerator
)

Parameters

cts

enumerator

 

Target Platforms


Show: