CmdletAdapter<TObjectInstance>.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)

Combines ProcessRecord(QueryBuilder) and ProcessRecord(TObjectInstance, MethodInvocationInfo, Boolean).

ProcessRecord(TObjectInstance, MethodInvocationInfo, Boolean)

Invokes an instance method in the object model.

ProcessRecord(MethodInvocationInfo)

Invokes a static method in the object model.

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

Parameters

methodInvocationInfo
MethodInvocationInfo

Method invocation details.

Applies to

ProcessRecord(QueryBuilder)

Queries for object instances in the object model.

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

Parameters

query
QueryBuilder

Query parameters.

Applies to

ProcessRecord(QueryBuilder, MethodInvocationInfo, Boolean)

public:
 virtual void ProcessRecord(Microsoft::PowerShell::Cmdletization::QueryBuilder ^ query, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo, bool passThru);
public:
 virtual void ProcessRecord(Microsoft::PowerShell::Cmdletization::QueryBuilder ^ query, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo, bool passThru);
 virtual void ProcessRecord(Microsoft::PowerShell::Cmdletization::QueryBuilder const & query, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo const & methodInvocationInfo, bool passThru);
public virtual void ProcessRecord (Microsoft.PowerShell.Cmdletization.QueryBuilder query, Microsoft.PowerShell.Cmdletization.MethodInvocationInfo methodInvocationInfo, bool passThru);
abstract member ProcessRecord : Microsoft.PowerShell.Cmdletization.QueryBuilder * Microsoft.PowerShell.Cmdletization.MethodInvocationInfo * bool -> unit
override this.ProcessRecord : Microsoft.PowerShell.Cmdletization.QueryBuilder * Microsoft.PowerShell.Cmdletization.MethodInvocationInfo * bool -> unit
Public Overridable 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:
 virtual void ProcessRecord(TObjectInstance objectInstance, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo, bool passThru);
public:
 virtual void ProcessRecord(TObjectInstance objectInstance, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo ^ methodInvocationInfo, bool passThru);
 virtual void ProcessRecord(TObjectInstance objectInstance, Microsoft::PowerShell::Cmdletization::MethodInvocationInfo const & methodInvocationInfo, bool passThru);
public virtual void ProcessRecord (TObjectInstance objectInstance, Microsoft.PowerShell.Cmdletization.MethodInvocationInfo methodInvocationInfo, bool passThru);
abstract member ProcessRecord : 'ObjectInstance * Microsoft.PowerShell.Cmdletization.MethodInvocationInfo * bool -> unit
override this.ProcessRecord : 'ObjectInstance * Microsoft.PowerShell.Cmdletization.MethodInvocationInfo * bool -> unit
Public Overridable 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