Description of MemorySnapshotCmdletBase.
Inheritance: CommonCmdletBase
Exemplo n.º 1
0
        public static void GetMemoryShapshot(MemorySnapshotCmdletBase cmdlet, int[] processIds)
        {
            if (null != processIds && 0 < processIds.Length) {

                foreach (int processId in processIds) {

                    MemorySnapshot snapshot = MemorySnapshot.FromProcess(processId);

                    cmdlet.WriteObject(cmdlet, snapshot);
                }
            }
        }
Exemplo n.º 2
0
        public static void GetMemoryShapshot(MemorySnapshotCmdletBase cmdlet, int[] processIds)
        {
            if (null != processIds && 0 < processIds.Length)
            {
                foreach (int processId in processIds)
                {
                    MemorySnapshot snapshot = MemorySnapshot.FromProcess(processId);

                    cmdlet.WriteObject(cmdlet, snapshot);
                }
            }
        }