共用方式為


RemoteStreamOptions Enum

Definition

These flags control whether InvocationInfo is added to items in the Error, Warning, Verbose and Debug streams during remote calls.

This enumeration supports a bitwise combination of its member values.

public enum class RemoteStreamOptions
[System.Flags]
public enum RemoteStreamOptions
[<System.Flags>]
type RemoteStreamOptions = 
Public Enum RemoteStreamOptions
Inheritance
RemoteStreamOptions
Attributes

Fields

Name Value Description
AddInvocationInfoToErrorRecord 1

If this flag is set, ErrorRecord will include an instance of InvocationInfo on remote calls.

AddInvocationInfoToWarningRecord 2

If this flag is set, WarningRecord will include an instance of InvocationInfo on remote calls.

AddInvocationInfoToDebugRecord 4

If this flag is set, DebugRecord will include an instance of InvocationInfo on remote calls.

AddInvocationInfoToVerboseRecord 8

If this flag is set, VerboseRecord will include an instance of InvocationInfo on remote calls.

AddInvocationInfo 15

If this flag is set, ErrorRecord, WarningRecord, DebugRecord, and VerboseRecord will include an instance of InvocationInfo on remote calls.

Applies to