Peek Method (EventPipe object)

                    

 

Takes a number from 1 to EventPipe.Count and returns the corresponding item from the EventPipe as a PIEventObject, without removing it from the EventPipe.

 

 

Syntax

object.Peek Index

The Peek method syntax has these parts:

Part

Description

object

An object expression that evaluates to an EventPipe object.

Index

An integer from 1 to EventPipe.Count indicating which item in the pipe to peek at.

 

Remarks

The PIEventObject returned will have contents that depend on the event pipe from which it was retrieved.  See the PIEventObject for details.

Enabling Operational Intelligence