Compartir a través de


InternalTestHooks Class

Definition

This class is used for internal test purposes.

public ref class InternalTestHooks abstract sealed
public static class InternalTestHooks
type InternalTestHooks = class
Public Class InternalTestHooks
Inheritance
InternalTestHooks

Methods

GetCustomPSSenderInfo(String, Version)

Constructs a custom PSSenderInfo instance that can be assigned to $PSSenderInfo in order to simulate a remoting session with respect to the $PSSenderInfo.ConnectionString (connection URL) and $PSSenderInfo.ApplicationArguments.PSVersionTable.PSVersion (the remoting client's PowerShell version). See Get-FormatDataTest.ps1.

SetTestHook(String, Boolean)

This member is used for internal test purposes.

SetTestHook(String, Object)

This member is used for internal test purposes.

TestImplicitRemotingBatching(String, Runspace)

Applies to