Compartilhar via


SessionBasedCmdletAdapter<TObjectInstance,TSession>.ProcessRecord Method

Definition

Overloads

ProcessRecord(MethodInvocationInfo)

Invokes a static method in the object model.

ProcessRecord(QueryBuilder)

Queries for object instances in the object model.

ProcessRecord(QueryBuilder, MethodInvocationInfo, Boolean)

Queries for instance and invokes an instance method.

ProcessRecord(TObjectInstance, MethodInvocationInfo, Boolean)

Invokes an instance method in the object model.

ProcessRecord(MethodInvocationInfo)

Invokes a static method in the object model.

public:
 override void ProcessRecord(Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo);
public:
 override void ProcessRecord(Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo);
 override void ProcessRecord(Microsoft::PowerShell::Cmdletization::MethodInvocationInfo const & methodInvocationInfo);
public override void ProcessRecord (Microsoft.PowerShell.Cmdletization.MethodInvocationInfo methodInvocationInfo);
override this.ProcessRecord : Microsoft.PowerShell.Cmdletization.MethodInvocationInfo -> unit
Public Overrides Sub ProcessRecord (methodInvocationInfo As MethodInvocationInfo)

Parameters

methodInvocationInfo
MethodInvocationInfo

Method invocation details.

Applies to

ProcessRecord(QueryBuilder)

Queries for object instances in the object model.

public:
 override void ProcessRecord(Microsoft::PowerShell::Cmdletization::QueryBuilder ^ query);
public:
 override void ProcessRecord(Microsoft::PowerShell::Cmdletization::QueryBuilder ^ query);
 override void ProcessRecord(Microsoft::PowerShell::Cmdletization::QueryBuilder const & query);
public override void ProcessRecord (Microsoft.PowerShell.Cmdletization.QueryBuilder query);
override this.ProcessRecord : Microsoft.PowerShell.Cmdletization.QueryBuilder -> unit
Public Overrides Sub ProcessRecord (query As QueryBuilder)

Parameters

query
QueryBuilder

Query parameters.

Applies to

ProcessRecord(QueryBuilder, MethodInvocationInfo, Boolean)

Queries for instance and invokes an instance method.

public:
 override void ProcessRecord(Microsoft::PowerShell::Cmdletization::QueryBuilder ^ query, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo, bool passThru);
public:
 override void ProcessRecord(Microsoft::PowerShell::Cmdletization::QueryBuilder ^ query, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo, bool passThru);
 override void ProcessRecord(Microsoft::PowerShell::Cmdletization::QueryBuilder const & query, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo const & methodInvocationInfo, bool passThru);
public override void ProcessRecord (Microsoft.PowerShell.Cmdletization.QueryBuilder query, Microsoft.PowerShell.Cmdletization.MethodInvocationInfo methodInvocationInfo, bool passThru);
override this.ProcessRecord : Microsoft.PowerShell.Cmdletization.QueryBuilder * Microsoft.PowerShell.Cmdletization.MethodInvocationInfo * bool -> unit
Public Overrides Sub ProcessRecord (query As QueryBuilder, methodInvocationInfo As MethodInvocationInfo, passThru As Boolean)

Parameters

query
QueryBuilder

Query parameters.

methodInvocationInfo
MethodInvocationInfo

Method invocation details.

passThru
Boolean

true if successful method invocations should emit downstream the object instance being operated on.

Applies to

ProcessRecord(TObjectInstance, MethodInvocationInfo, Boolean)

Invokes an instance method in the object model.

public:
 override void ProcessRecord(TObjectInstance objectInstance, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo, bool passThru);
public:
 override void ProcessRecord(TObjectInstance objectInstance, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo, bool passThru);
 override void ProcessRecord(TObjectInstance objectInstance, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo const & methodInvocationInfo, bool passThru);
public override void ProcessRecord (TObjectInstance objectInstance, Microsoft.PowerShell.Cmdletization.MethodInvocationInfo methodInvocationInfo, bool passThru);
override this.ProcessRecord : 'ObjectInstance * Microsoft.PowerShell.Cmdletization.MethodInvocationInfo * bool -> unit
Public Overrides Sub ProcessRecord (objectInstance As TObjectInstance, methodInvocationInfo As MethodInvocationInfo, passThru As Boolean)

Parameters

objectInstance
TObjectInstance

The object on which to invoke the method.

methodInvocationInfo
MethodInvocationInfo

Method invocation details.

passThru
Boolean

true if successful method invocations should emit downstream the objectInstance being operated on.

Applies to