System.Diagnostics
72 wrapped types. Load them with using { "System.Diagnostics" }. Click a class to open it.
Activity class
System.Diagnostics.Activity · assembly System.Diagnostics.DiagnosticSource
Implements: IDisposable
Constructors
new Activity(string operationName) |
Ring: new Activity(args) uses one constructor; the others are chosen by the parameter names: new Activity().@New([ :param = value ]) or dnNew("Activity",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Status | ActivityStatusCode | read | o.Status |
StatusDescription | string | read | o.StatusDescription |
HasRemoteParent | bool | read | o.HasRemoteParent |
Kind | ActivityKind | read | o.Kind |
OperationName | string | read | o.OperationName |
DisplayName | string | read, write | o.DisplayName o.DisplayName = v |
Source | ActivitySource | read | o.Source |
Parent | Activity | read | o.Parent |
Duration | TimeSpan | read | o.Duration |
StartTimeUtc | DateTime | read | o.StartTimeUtc |
Id | string | read | o.Id |
ParentId | string | read | o.ParentId |
RootId | string | read | o.RootId |
Tags | IEnumerable<KeyValuePair<string, string>> | read | o.Tags |
TagObjects | IEnumerable<KeyValuePair<string, object>> | read | o.TagObjects |
Events | IEnumerable<ActivityEvent> | read | o.Events |
Links | IEnumerable<ActivityLink> | read | o.Links |
Baggage | IEnumerable<KeyValuePair<string, string>> | read | o.Baggage |
Context | ActivityContext | read | o.Context |
TraceStateString | string | read, write | o.TraceStateString o.TraceStateString = v |
SpanId | ActivitySpanId | read | o.SpanId |
TraceId | ActivityTraceId | read | o.TraceId |
Recorded | bool | read | o.Recorded |
IsAllDataRequested | bool | read, write | o.IsAllDataRequested o.IsAllDataRequested = v |
ActivityTraceFlags | ActivityTraceFlags | read, write | o.ActivityTraceFlags o.ActivityTraceFlags = v |
ParentSpanId | ActivitySpanId | read | o.ParentSpanId |
IsStopped | bool | read | o.IsStopped |
IdFormat | ActivityIdFormat | read | o.IdFormat |
ForceDefaultIdFormat | bool | read, write · static | o.ForceDefaultIdFormat o.ForceDefaultIdFormat = v |
Current | Activity | read, write · static | o.Current o.Current = v |
TraceIdGenerator | Func<ActivityTraceId> | read, write · static | o.TraceIdGenerator o.TraceIdGenerator = v |
DefaultIdFormat | ActivityIdFormat | read, write · static | o.DefaultIdFormat o.DefaultIdFormat = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddBaggage | callMethod("AddBaggage",[p1,p2]) | Activity AddBaggage(string key, string value) |
AddEvent | callMethod("AddEvent",[p1]) | Activity AddEvent(ActivityEvent e) |
AddException | AddException([ :exception = …, :tags = …, :timestamp = … ]) | Activity AddException(Exception exception, ref TagList tags = …, DateTimeOffset timestamp = …) |
AddLink | callMethod("AddLink",[p1]) | Activity AddLink(ActivityLink link) |
AddTag | callMethod("AddTag",[p1,p2]) | Activity AddTag(string key, string value)Activity AddTag(string key, object value) |
Dispose | callMethod("Dispose",[]) | void Dispose() |
EnumerateEvents | callMethod("EnumerateEvents",[]) | Enumerator<ActivityEvent> EnumerateEvents() |
EnumerateLinks | callMethod("EnumerateLinks",[]) | Enumerator<ActivityLink> EnumerateLinks() |
EnumerateTagObjects | callMethod("EnumerateTagObjects",[]) | Enumerator<KeyValuePair<string, object>> EnumerateTagObjects() |
GetBaggageItem | callMethod("GetBaggageItem",[p1]) | string GetBaggageItem(string key) |
GetCustomProperty | callMethod("GetCustomProperty",[p1]) | object GetCustomProperty(string propertyName) |
GetTagItem | callMethod("GetTagItem",[p1]) | object GetTagItem(string key) |
SetBaggage | callMethod("SetBaggage",[p1,p2]) | Activity SetBaggage(string key, string value) |
SetCustomProperty | SetCustomProperty(p1,p2) | void SetCustomProperty(string propertyName, object propertyValue) |
SetEndTime | callMethod("SetEndTime",[p1]) | Activity SetEndTime(DateTime endTimeUtc) |
SetIdFormat | callMethod("SetIdFormat",[p1]) | Activity SetIdFormat(ActivityIdFormat format) |
SetParentId | SetParentId(value)SetParentId([ :parentId = … ])SetParentId([ :traceId = …, :spanId = …, :activityTraceFlags = … ]) | Activity SetParentId(string parentId)Activity SetParentId(ActivityTraceId traceId, ActivitySpanId spanId, ActivityTraceFlags activityTraceFlags = …) |
SetStartTime | callMethod("SetStartTime",[p1]) | Activity SetStartTime(DateTime startTimeUtc) |
SetStatus | SetStatus([ :code = …, :description = … ]) | Activity SetStatus(ActivityStatusCode code, string description = …) |
SetTag | callMethod("SetTag",[p1,p2]) | Activity SetTag(string key, object value) |
Start | callMethod("Start",[]) | Activity Start() |
Stop | callMethod("Stop",[]) | void Stop() |
Events
| Event | Handler type | In Ring |
|---|---|---|
CurrentChanged | EventHandler<ActivityChangedEventArgs> | o.setCurrentChangedEvent(code) · o.clearCurrentChangedEvent() |
ActivityChangedEventArgs struct
System.Diagnostics.ActivityChangedEventArgs · assembly System.Diagnostics.DiagnosticSource
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Previous | Activity | read, write | o.Previous o.Previous = v |
Current | Activity | read, write | o.Current o.Current = v |
ActivityContext struct
System.Diagnostics.ActivityContext · assembly System.Diagnostics.DiagnosticSource
Constructors
new ActivityContext(ActivityTraceId traceId, ActivitySpanId spanId, ActivityTraceFlags traceFlags, string traceState = …, bool isRemote = …) |
Ring: new ActivityContext(args) uses one constructor; the others are chosen by the parameter names: new ActivityContext().@New([ :param = value ]) or dnNew("ActivityContext",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TraceId | ActivityTraceId | read | o.TraceId |
SpanId | ActivitySpanId | read | o.SpanId |
TraceFlags | ActivityTraceFlags | read | o.TraceFlags |
TraceState | string | read | o.TraceState |
IsRemote | bool | read | o.IsRemote |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(ActivityContext value)bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Parse | Parse(p1,p2) | static ActivityContext Parse(string traceParent, string traceState) |
TryParse | TryParse([ :traceParent = …, :traceState = …, :context = … ])TryParse([ :traceParent = …, :traceState = …, :isRemote = …, :context = … ]) | static bool TryParse(string traceParent, string traceState, bool isRemote, out ActivityContext context)static bool TryParse(string traceParent, string traceState, out ActivityContext context) |
ActivityCreationOptions struct
System.Diagnostics.ActivityCreationOptions`1 · assembly System.Diagnostics.DiagnosticSource
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Source | ActivitySource | read | o.Source |
Name | string | read | o.Name |
Kind | ActivityKind | read | o.Kind |
Parent | T | read | o.Parent |
Tags | IEnumerable<KeyValuePair<string, object>> | read | o.Tags |
Links | IEnumerable<ActivityLink> | read | o.Links |
SamplingTags | ActivityTagsCollection | read | o.SamplingTags |
TraceId | ActivityTraceId | read | o.TraceId |
TraceState | string | read, write | o.TraceState o.TraceState = v |
ActivityEnumerator struct
System.Diagnostics.Activity+Enumerator`1 · assembly System.Diagnostics.DiagnosticSource
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | T | read | o.Current |
ActivityEvent struct
System.Diagnostics.ActivityEvent · assembly System.Diagnostics.DiagnosticSource
Constructors
new ActivityEvent(string name) |
new ActivityEvent(string name, DateTimeOffset timestamp = …, ActivityTagsCollection tags = …) |
Ring: new ActivityEvent(args) uses one constructor; the others are chosen by the parameter names: new ActivityEvent().@New([ :param = value ]) or dnNew("ActivityEvent",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
Timestamp | DateTimeOffset | read | o.Timestamp |
Tags | IEnumerable<KeyValuePair<string, object>> | read | o.Tags |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
EnumerateTagObjects | callMethod("EnumerateTagObjects",[]) | Enumerator<KeyValuePair<string, object>> EnumerateTagObjects() |
ActivityLink struct
System.Diagnostics.ActivityLink · assembly System.Diagnostics.DiagnosticSource
Constructors
new ActivityLink(ActivityContext context, ActivityTagsCollection tags = …) |
Ring: new ActivityLink(args) uses one constructor; the others are chosen by the parameter names: new ActivityLink().@New([ :param = value ]) or dnNew("ActivityLink",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Context | ActivityContext | read | o.Context |
Tags | IEnumerable<KeyValuePair<string, object>> | read | o.Tags |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
EnumerateTagObjects | callMethod("EnumerateTagObjects",[]) | Enumerator<KeyValuePair<string, object>> EnumerateTagObjects() |
Equals | Equals(p1) | bool Equals(object obj)bool Equals(ActivityLink value) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ActivityListener class sealed
System.Diagnostics.ActivityListener · assembly System.Diagnostics.DiagnosticSource
Implements: IDisposable
Constructors
new ActivityListener() |
Ring: new ActivityListener(args) uses one constructor; the others are chosen by the parameter names: new ActivityListener().@New([ :param = value ]) or dnNew("ActivityListener",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ActivityStarted | Action<Activity> | read, write | o.ActivityStarted o.ActivityStarted = v |
ActivityStopped | Action<Activity> | read, write | o.ActivityStopped o.ActivityStopped = v |
ExceptionRecorder | ExceptionRecorder | read, write | o.ExceptionRecorder o.ExceptionRecorder = v |
ShouldListenTo | Func<ActivitySource, bool> | read, write | o.ShouldListenTo o.ShouldListenTo = v |
SampleUsingParentId | SampleActivity<string> | read, write | o.SampleUsingParentId o.SampleUsingParentId = v |
Sample | SampleActivity<ActivityContext> | read, write | o.Sample o.Sample = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
ActivitySource class sealed
System.Diagnostics.ActivitySource · assembly System.Diagnostics.DiagnosticSource
Implements: IDisposable
Constructors
new ActivitySource(string name) |
new ActivitySource(string name, string version = …) |
new ActivitySource(string name, string version = …, IEnumerable<KeyValuePair<string, object>> tags = …) |
Ring: new ActivitySource(args) uses one constructor; the others are chosen by the parameter names: new ActivitySource().@New([ :param = value ]) or dnNew("ActivitySource",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
Version | string | read | o.Version |
Tags | IEnumerable<KeyValuePair<string, object>> | read | o.Tags |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddActivityListener | AddActivityListener(p1) | static void AddActivityListener(ActivityListener listener) |
CreateActivity | CreateActivity([ :name = …, :kind = … ])CreateActivity([ :name = …, :kind = …, :parentContext = …, :tags = …, :links = …, :idFormat = … ])CreateActivity([ :name = …, :kind = …, :parentId = …, :tags = …, :links = …, :idFormat = … ]) | Activity CreateActivity(string name, ActivityKind kind)Activity CreateActivity(string name, ActivityKind kind, ActivityContext parentContext, IEnumerable<KeyValuePair<string, object>> tags = …, IEnumerable<ActivityLink> links = …, ActivityIdFormat idFormat = …)Activity CreateActivity(string name, ActivityKind kind, string parentId, IEnumerable<KeyValuePair<string, object>> tags = …, IEnumerable<ActivityLink> links = …, ActivityIdFormat idFormat = …) |
Dispose | callMethod("Dispose",[]) | void Dispose() |
HasListeners | callMethod("HasListeners",[]) | bool HasListeners() |
StartActivity | StartActivity([ :name = …, :kind = … ])StartActivity([ :name = …, :kind = …, :parentContext = …, :tags = …, :links = …, :startTime = … ])StartActivity([ :name = …, :kind = …, :parentId = …, :tags = …, :links = …, :startTime = … ])StartActivity([ :kind = …, :parentContext = …, :tags = …, :links = …, :startTime = …, :name = … ]) | Activity StartActivity(string name = …, ActivityKind kind = …)Activity StartActivity(string name, ActivityKind kind, ActivityContext parentContext, IEnumerable<KeyValuePair<string, object>> tags = …, IEnumerable<ActivityLink> links = …, DateTimeOffset startTime = …)Activity StartActivity(string name, ActivityKind kind, string parentId, IEnumerable<KeyValuePair<string, object>> tags = …, IEnumerable<ActivityLink> links = …, DateTimeOffset startTime = …)Activity StartActivity(ActivityKind kind, ActivityContext parentContext = …, IEnumerable<KeyValuePair<string, object>> tags = …, IEnumerable<ActivityLink> links = …, DateTimeOffset startTime = …, string name = …) |
ActivitySpanId struct
System.Diagnostics.ActivitySpanId · assembly System.Diagnostics.DiagnosticSource
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyTo | CopyTo(p1) | void CopyTo(Span<byte> destination) |
CreateFromBytes | CreateFromBytes(p1) | static ActivitySpanId CreateFromBytes(ReadOnlySpan<byte> idData) |
CreateFromString | CreateFromString(p1) | static ActivitySpanId CreateFromString(ReadOnlySpan<char> idData) |
CreateFromUtf8String | CreateFromUtf8String(p1) | static ActivitySpanId CreateFromUtf8String(ReadOnlySpan<byte> idData) |
CreateRandom | CreateRandom() | static ActivitySpanId CreateRandom() |
Equals | Equals(p1) | bool Equals(ActivitySpanId spanId)bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToHexString | callMethod("ToHexString",[]) | string ToHexString() |
ToString | callMethod("ToString",[]) | string ToString() |
ActivityTagsCollection class
System.Diagnostics.ActivityTagsCollection · assembly System.Diagnostics.DiagnosticSource
Implements: IEnumerable
Constructors
new ActivityTagsCollection() |
new ActivityTagsCollection(IEnumerable<KeyValuePair<string, object>> list) |
Ring: new ActivityTagsCollection(args) uses one constructor; the others are chosen by the parameter names: new ActivityTagsCollection().@New([ :param = value ]) or dnNew("ActivityTagsCollection",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Keys | ICollection<string> | read | o.Keys |
Values | ICollection<object> | read | o.Values |
IsReadOnly | bool | read | o.IsReadOnly |
Count | int | read | o.Count |
Indexer
o.Item(string key) → object · o.SetItem(key,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[p1])callMethod("Add",[p1,p2]) | void Add(string key, object value)void Add(KeyValuePair<string, object> item) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(KeyValuePair<string, object> item) |
ContainsKey | callMethod("ContainsKey",[p1]) | bool ContainsKey(string key) |
CopyTo | CopyTo(p1,p2) | void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex) |
GetEnumerator | callMethod("GetEnumerator",[]) | ActivityTagsCollection.Enumerator GetEnumerator() |
Remove | callMethod("Remove",[p1]) | bool Remove(string key)bool Remove(KeyValuePair<string, object> item) |
TryGetValue | TryGetValue(p1) | bool TryGetValue(string key, out object value) |
ActivityTagsCollectionEnumerator struct
System.Diagnostics.ActivityTagsCollection+Enumerator · assembly System.Diagnostics.DiagnosticSource
Implements: IDisposable, IEnumerator
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | KeyValuePair<string, object> | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |
ActivityTraceId struct
System.Diagnostics.ActivityTraceId · assembly System.Diagnostics.DiagnosticSource
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyTo | CopyTo(p1) | void CopyTo(Span<byte> destination) |
CreateFromBytes | CreateFromBytes(p1) | static ActivityTraceId CreateFromBytes(ReadOnlySpan<byte> idData) |
CreateFromString | CreateFromString(p1) | static ActivityTraceId CreateFromString(ReadOnlySpan<char> idData) |
CreateFromUtf8String | CreateFromUtf8String(p1) | static ActivityTraceId CreateFromUtf8String(ReadOnlySpan<byte> idData) |
CreateRandom | CreateRandom() | static ActivityTraceId CreateRandom() |
Equals | Equals(p1) | bool Equals(ActivityTraceId traceId)bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToHexString | callMethod("ToHexString",[]) | string ToHexString() |
ToString | callMethod("ToString",[]) | string ToString() |
BooleanSwitch class · extends Switch_
System.Diagnostics.BooleanSwitch · assembly System.Diagnostics.TraceSource
Constructors
new BooleanSwitch(string displayName, string description) |
new BooleanSwitch(string displayName, string description, string defaultSwitchValue) |
Ring: new BooleanSwitch(args) uses one constructor; the others are chosen by the parameter names: new BooleanSwitch().@New([ :param = value ]) or dnNew("BooleanSwitch",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Enabled | bool | read, write | o.Enabled o.Enabled = v |
Members of the base class are inherited.
ConditionalAttribute class sealed · extends Attribute
System.Diagnostics.ConditionalAttribute · assembly System.Private.CoreLib
Constructors
new ConditionalAttribute(string conditionString) |
Ring: new ConditionalAttribute(args) uses one constructor; the others are chosen by the parameter names: new ConditionalAttribute().@New([ :param = value ]) or dnNew("ConditionalAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ConditionString | string | read | o.ConditionString |
Members of the base class are inherited.
ConsoleTraceListener class · extends TextWriterTraceListener
System.Diagnostics.ConsoleTraceListener · assembly System.Diagnostics.TextWriterTraceListener
Implements: IDisposable
Constructors
new ConsoleTraceListener() |
new ConsoleTraceListener(bool useErrorStream) |
Ring: new ConsoleTraceListener(args) uses one constructor; the others are chosen by the parameter names: new ConsoleTraceListener().@New([ :param = value ]) or dnNew("ConsoleTraceListener",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
Members of the base class are inherited.
CorrelationManager class
System.Diagnostics.CorrelationManager · assembly System.Diagnostics.TraceSource
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
LogicalOperationStack | Stack | read | o.LogicalOperationStack |
ActivityId | Guid | read, write | o.ActivityId o.ActivityId = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
StartLogicalOperation | callMethod("StartLogicalOperation",[])callMethod("StartLogicalOperation",[p1]) | void StartLogicalOperation()void StartLogicalOperation(object operationId) |
StopLogicalOperation | callMethod("StopLogicalOperation",[]) | void StopLogicalOperation() |
DataReceivedEventArgs class · extends EventArgs
System.Diagnostics.DataReceivedEventArgs · assembly System.Diagnostics.Process
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Data | string | read | o.Data |
Members of the base class are inherited.
Debug class static
System.Diagnostics.Debug · assembly System.Private.CoreLib
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AutoFlush | bool | read, write · static | o.AutoFlush o.AutoFlush = v |
IndentLevel | int | read, write · static | o.IndentLevel o.IndentLevel = v |
IndentSize | int | read, write · static | o.IndentSize o.IndentSize = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Assert | Assert(value)Assert([ :condition = … ])Assert([ :condition = …, :message = … ])Assert([ :condition = …, :message = …, :detailMessage = … ])Assert([ :condition = …, :message = …, :detailMessageFormat = …, :args = … ]) | static void Assert(bool condition)static void Assert(bool condition, string message = …)static void Assert(bool condition, ref Debug.AssertInterpolatedStringHandler message)static void Assert(bool condition, string message, string detailMessage)static void Assert(bool condition, ref Debug.AssertInterpolatedStringHandler message, ref Debug.AssertInterpolatedStringHandler detailMessage)static void Assert(bool condition, string message, string detailMessageFormat, object[] args) |
Close | callMethod("Close",[]) | static void Close() |
Fail | Fail(value)Fail([ :message = … ])Fail([ :message = …, :detailMessage = … ]) | static void Fail(string message)static void Fail(string message, string detailMessage) |
Flush | callMethod("Flush",[]) | static void Flush() |
Indent | callMethod("Indent",[]) | static void Indent() |
Print | Print(value)Print([ :message = … ])Print([ :format = …, :args = … ]) | static void Print(string message)static void Print(string format, object[] args) |
SetProvider | SetProvider(p1) | static DebugProvider SetProvider(DebugProvider provider) |
Unindent | callMethod("Unindent",[]) | static void Unindent() |
Write | Write(value)Write([ :message = … ])Write([ :value = … ])Write([ :message = …, :category = … ])Write([ :value = …, :category = … ]) | static void Write(string message)static void Write(object value)static void Write(string message, string category)static void Write(object value, string category) |
WriteIf | WriteIf([ :condition = …, :message = … ])WriteIf([ :condition = …, :value = … ])WriteIf([ :condition = …, :message = …, :category = … ])WriteIf([ :condition = …, :value = …, :category = … ]) | static void WriteIf(bool condition, string message)static void WriteIf(bool condition, ref Debug.WriteIfInterpolatedStringHandler message)static void WriteIf(bool condition, object value)static void WriteIf(bool condition, string message, string category)static void WriteIf(bool condition, ref Debug.WriteIfInterpolatedStringHandler message, string category)static void WriteIf(bool condition, object value, string category) |
WriteLine | WriteLine(value)WriteLine([ :message = … ])WriteLine([ :value = … ])WriteLine([ :value = …, :category = … ])WriteLine([ :format = …, :args = … ]) | static void WriteLine(string message)static void WriteLine(object value)static void WriteLine(object value, string category)static void WriteLine(string format, object[] args)static void WriteLine(string message, string category) |
WriteLineIf | WriteLineIf([ :condition = …, :value = … ])WriteLineIf([ :condition = …, :message = … ])WriteLineIf([ :condition = …, :value = …, :category = … ])WriteLineIf([ :condition = …, :message = …, :category = … ]) | static void WriteLineIf(bool condition, object value)static void WriteLineIf(bool condition, object value, string category)static void WriteLineIf(bool condition, string message)static void WriteLineIf(bool condition, ref Debug.WriteIfInterpolatedStringHandler message)static void WriteLineIf(bool condition, string message, string category)static void WriteLineIf(bool condition, ref Debug.WriteIfInterpolatedStringHandler message, string category) |
DebugAssertInterpolatedStringHandler struct
System.Diagnostics.Debug+AssertInterpolatedStringHandler · assembly System.Private.CoreLib
Constructors
new DebugAssertInterpolatedStringHandler(int literalLength, int formattedCount, bool condition, out bool shouldAppend) |
Ring: new DebugAssertInterpolatedStringHandler(args) uses one constructor; the others are chosen by the parameter names: new DebugAssertInterpolatedStringHandler().@New([ :param = value ]) or dnNew("DebugAssertInterpolatedStringHandler",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AppendFormatted | callMethod("AppendFormatted",[p1])callMethod("AppendFormatted",[p1,p2])callMethod("AppendFormatted",[p1,p2,p3]) | void AppendFormatted<T>(T value)void AppendFormatted<T>(T value, string format)void AppendFormatted<T>(T value, int alignment)void AppendFormatted<T>(T value, int alignment, string format)void AppendFormatted(ReadOnlySpan<char> value)void AppendFormatted(ReadOnlySpan<char> value, int alignment = …, string format = …)void AppendFormatted(string value)void AppendFormatted(string value, int alignment = …, string format = …)void AppendFormatted(object value, int alignment = …, string format = …) |
AppendLiteral | callMethod("AppendLiteral",[p1]) | void AppendLiteral(string value) |
DebuggableAttribute class sealed · extends Attribute
System.Diagnostics.DebuggableAttribute · assembly System.Private.CoreLib
Constructors
new DebuggableAttribute(bool isJITTrackingEnabled, bool isJITOptimizerDisabled) |
new DebuggableAttribute(DebuggableAttribute.DebuggingModes modes) |
Ring: new DebuggableAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggableAttribute().@New([ :param = value ]) or dnNew("DebuggableAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsJITTrackingEnabled | bool | read | o.IsJITTrackingEnabled |
IsJITOptimizerDisabled | bool | read | o.IsJITOptimizerDisabled |
DebuggingFlags | DebuggableAttribute.DebuggingModes | read | o.DebuggingFlags |
Members of the base class are inherited.
Debugger class static
System.Diagnostics.Debugger · assembly System.Private.CoreLib
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsAttached | bool | read · static | o.IsAttached |
DefaultCategory | string | read · static | o.DefaultCategory |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Break | callMethod("Break",[]) | static void Break() |
BreakForUserUnhandledException | BreakForUserUnhandledException(p1) | static void BreakForUserUnhandledException(Exception exception) |
IsLogging | callMethod("IsLogging",[]) | static bool IsLogging() |
Launch | callMethod("Launch",[]) | static bool Launch() |
Log | callMethod("Log",[p1,p2,p3]) | static void Log(int level, string category, string message) |
NotifyOfCrossThreadDependency | callMethod("NotifyOfCrossThreadDependency",[]) | static void NotifyOfCrossThreadDependency() |
DebuggerBrowsableAttribute class sealed · extends Attribute
System.Diagnostics.DebuggerBrowsableAttribute · assembly System.Private.CoreLib
Constructors
new DebuggerBrowsableAttribute(DebuggerBrowsableState state) |
Ring: new DebuggerBrowsableAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggerBrowsableAttribute().@New([ :param = value ]) or dnNew("DebuggerBrowsableAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
State | DebuggerBrowsableState | read | o.State |
Members of the base class are inherited.
DebuggerDisableUserUnhandledExceptionsAttribute class sealed · extends Attribute
System.Diagnostics.DebuggerDisableUserUnhandledExceptionsAttribute · assembly System.Private.CoreLib
Constructors
new DebuggerDisableUserUnhandledExceptionsAttribute() |
Ring: new DebuggerDisableUserUnhandledExceptionsAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggerDisableUserUnhandledExceptionsAttribute().@New([ :param = value ]) or dnNew("DebuggerDisableUserUnhandledExceptionsAttribute",[ :param = value ]).
Members of the base class are inherited.
DebuggerDisplayAttribute class sealed · extends Attribute
System.Diagnostics.DebuggerDisplayAttribute · assembly System.Private.CoreLib
Constructors
new DebuggerDisplayAttribute(string value) |
Ring: new DebuggerDisplayAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggerDisplayAttribute().@New([ :param = value ]) or dnNew("DebuggerDisplayAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.Value |
Name | string | read, write | o.Name o.Name = v |
Type | string | read, write | o.Type o.Type = v |
Target | Type | read, write | o.Target o.Target = v |
TargetTypeName | string | read, write | o.TargetTypeName o.TargetTypeName = v |
Members of the base class are inherited.
DebuggerHiddenAttribute class sealed · extends Attribute
System.Diagnostics.DebuggerHiddenAttribute · assembly System.Private.CoreLib
Constructors
new DebuggerHiddenAttribute() |
Ring: new DebuggerHiddenAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggerHiddenAttribute().@New([ :param = value ]) or dnNew("DebuggerHiddenAttribute",[ :param = value ]).
Members of the base class are inherited.
DebuggerNonUserCodeAttribute class sealed · extends Attribute
System.Diagnostics.DebuggerNonUserCodeAttribute · assembly System.Private.CoreLib
Constructors
new DebuggerNonUserCodeAttribute() |
Ring: new DebuggerNonUserCodeAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggerNonUserCodeAttribute().@New([ :param = value ]) or dnNew("DebuggerNonUserCodeAttribute",[ :param = value ]).
Members of the base class are inherited.
DebuggerStepperBoundaryAttribute class sealed · extends Attribute
System.Diagnostics.DebuggerStepperBoundaryAttribute · assembly System.Private.CoreLib
Constructors
new DebuggerStepperBoundaryAttribute() |
Ring: new DebuggerStepperBoundaryAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggerStepperBoundaryAttribute().@New([ :param = value ]) or dnNew("DebuggerStepperBoundaryAttribute",[ :param = value ]).
Members of the base class are inherited.
DebuggerStepThroughAttribute class sealed · extends Attribute
System.Diagnostics.DebuggerStepThroughAttribute · assembly System.Private.CoreLib
Constructors
new DebuggerStepThroughAttribute() |
Ring: new DebuggerStepThroughAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggerStepThroughAttribute().@New([ :param = value ]) or dnNew("DebuggerStepThroughAttribute",[ :param = value ]).
Members of the base class are inherited.
DebuggerTypeProxyAttribute class sealed · extends Attribute
System.Diagnostics.DebuggerTypeProxyAttribute · assembly System.Private.CoreLib
Constructors
new DebuggerTypeProxyAttribute(Type type) |
new DebuggerTypeProxyAttribute(string typeName) |
Ring: new DebuggerTypeProxyAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggerTypeProxyAttribute().@New([ :param = value ]) or dnNew("DebuggerTypeProxyAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ProxyTypeName | string | read | o.ProxyTypeName |
Target | Type | read, write | o.Target o.Target = v |
TargetTypeName | string | read, write | o.TargetTypeName o.TargetTypeName = v |
Members of the base class are inherited.
DebuggerVisualizerAttribute class sealed · extends Attribute
System.Diagnostics.DebuggerVisualizerAttribute · assembly System.Private.CoreLib
Constructors
new DebuggerVisualizerAttribute(string visualizerTypeName) |
new DebuggerVisualizerAttribute(string visualizerTypeName, string visualizerObjectSourceTypeName) |
new DebuggerVisualizerAttribute(string visualizerTypeName, Type visualizerObjectSource) |
new DebuggerVisualizerAttribute(Type visualizer) |
new DebuggerVisualizerAttribute(Type visualizer, Type visualizerObjectSource) |
new DebuggerVisualizerAttribute(Type visualizer, string visualizerObjectSourceTypeName) |
Ring: new DebuggerVisualizerAttribute(args) uses one constructor; the others are chosen by the parameter names: new DebuggerVisualizerAttribute().@New([ :param = value ]) or dnNew("DebuggerVisualizerAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
VisualizerObjectSourceTypeName | string | read | o.VisualizerObjectSourceTypeName |
VisualizerTypeName | string | read | o.VisualizerTypeName |
Description | string | read, write | o.Description o.Description = v |
Target | Type | read, write | o.Target o.Target = v |
TargetTypeName | string | read, write | o.TargetTypeName o.TargetTypeName = v |
Members of the base class are inherited.
DebugProvider class
System.Diagnostics.DebugProvider · assembly System.Private.CoreLib
Constructors
new DebugProvider() |
Ring: new DebugProvider(args) uses one constructor; the others are chosen by the parameter names: new DebugProvider().@New([ :param = value ]) or dnNew("DebugProvider",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Fail | callMethod("Fail",[p1,p2]) | void Fail(string message, string detailMessage) |
FailCore | callMethod("FailCore",[p1,p2,p3,p4]) | static void FailCore(string stackTrace, string message, string detailMessage, string errorSource) |
OnIndentLevelChanged | callMethod("OnIndentLevelChanged",[p1]) | void OnIndentLevelChanged(int indentLevel) |
OnIndentSizeChanged | callMethod("OnIndentSizeChanged",[p1]) | void OnIndentSizeChanged(int indentSize) |
Write | callMethod("Write",[p1]) | void Write(string message) |
WriteCore | callMethod("WriteCore",[p1]) | static void WriteCore(string message) |
WriteLine | callMethod("WriteLine",[p1]) | void WriteLine(string message) |
DebugWriteIfInterpolatedStringHandler struct
System.Diagnostics.Debug+WriteIfInterpolatedStringHandler · assembly System.Private.CoreLib
Constructors
new DebugWriteIfInterpolatedStringHandler(int literalLength, int formattedCount, bool condition, out bool shouldAppend) |
Ring: new DebugWriteIfInterpolatedStringHandler(args) uses one constructor; the others are chosen by the parameter names: new DebugWriteIfInterpolatedStringHandler().@New([ :param = value ]) or dnNew("DebugWriteIfInterpolatedStringHandler",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AppendFormatted | callMethod("AppendFormatted",[p1])callMethod("AppendFormatted",[p1,p2])callMethod("AppendFormatted",[p1,p2,p3]) | void AppendFormatted<T>(T value)void AppendFormatted<T>(T value, string format)void AppendFormatted<T>(T value, int alignment)void AppendFormatted<T>(T value, int alignment, string format)void AppendFormatted(ReadOnlySpan<char> value)void AppendFormatted(ReadOnlySpan<char> value, int alignment = …, string format = …)void AppendFormatted(string value)void AppendFormatted(string value, int alignment = …, string format = …)void AppendFormatted(object value, int alignment = …, string format = …) |
AppendLiteral | callMethod("AppendLiteral",[p1]) | void AppendLiteral(string value) |
DefaultTraceListener class · extends TraceListener
System.Diagnostics.DefaultTraceListener · assembly System.Diagnostics.TraceSource
Implements: IDisposable
Constructors
new DefaultTraceListener() |
Ring: new DefaultTraceListener(args) uses one constructor; the others are chosen by the parameter names: new DefaultTraceListener().@New([ :param = value ]) or dnNew("DefaultTraceListener",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AssertUiEnabled | bool | read, write | o.AssertUiEnabled o.AssertUiEnabled = v |
LogFileName | string | read, write | o.LogFileName o.LogFileName = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Fail | callMethod("Fail",[p1])callMethod("Fail",[p1,p2]) | void Fail(string message)void Fail(string message, string detailMessage) |
Write | callMethod("Write",[p1]) | void Write(string message) |
WriteLine | callMethod("WriteLine",[p1]) | void WriteLine(string message) |
Members of the base class are inherited.
DelimitedListTraceListener class · extends TextWriterTraceListener
System.Diagnostics.DelimitedListTraceListener · assembly System.Diagnostics.TextWriterTraceListener
Implements: IDisposable
Constructors
new DelimitedListTraceListener(Stream stream) |
new DelimitedListTraceListener(Stream stream, string name) |
new DelimitedListTraceListener(TextWriter writer) |
new DelimitedListTraceListener(TextWriter writer, string name) |
new DelimitedListTraceListener(string fileName) |
new DelimitedListTraceListener(string fileName, string name) |
Ring: new DelimitedListTraceListener(args) uses one constructor; the others are chosen by the parameter names: new DelimitedListTraceListener().@New([ :param = value ]) or dnNew("DelimitedListTraceListener",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Delimiter | string | read, write | o.Delimiter o.Delimiter = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
TraceData | TraceData(p1,p2,p3,p4,p5) | void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data)void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, object[] data) |
TraceEvent | TraceEvent([ :eventCache = …, :source = …, :eventType = …, :id = …, :message = … ])TraceEvent([ :eventCache = …, :source = …, :eventType = …, :id = …, :format = …, :args = … ]) | void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format, object[] args)void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, string message) |
Members of the base class are inherited.
DiagnosticListener class · extends DiagnosticSource
System.Diagnostics.DiagnosticListener · assembly System.Diagnostics.DiagnosticSource
Implements: IDisposable
Constructors
new DiagnosticListener(string name) |
Ring: new DiagnosticListener(args) uses one constructor; the others are chosen by the parameter names: new DiagnosticListener().@New([ :param = value ]) or dnNew("DiagnosticListener",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
AllListeners | IObservable<DiagnosticListener> | read · static | o.AllListeners |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
IsEnabled | callMethod("IsEnabled",[])callMethod("IsEnabled",[p1])callMethod("IsEnabled",[p1,p2,p3]) | bool IsEnabled()bool IsEnabled(string name)bool IsEnabled(string name, object arg1, object arg2 = …) |
OnActivityExport | OnActivityExport(p1,p2) | void OnActivityExport(Activity activity, object payload) |
OnActivityImport | OnActivityImport(p1,p2) | void OnActivityImport(Activity activity, object payload) |
Subscribe | Subscribe(value)Subscribe([ :observer = … ])Subscribe([ :observer = …, :isEnabled = … ])Subscribe([ :observer = …, :isEnabled = …, :onActivityImport = …, :onActivityExport = … ]) | IDisposable Subscribe(IObserver<KeyValuePair<string, object>> observer, Func<string, object, object, bool> isEnabled, Action<Activity, object> onActivityImport = …, Action<Activity, object> onActivityExport = …)IDisposable Subscribe(IObserver<KeyValuePair<string, object>> observer, Predicate<string> isEnabled)IDisposable Subscribe(IObserver<KeyValuePair<string, object>> observer, Func<string, object, object, bool> isEnabled)IDisposable Subscribe(IObserver<KeyValuePair<string, object>> observer) |
ToString | callMethod("ToString",[]) | string ToString() |
Write | Write(p1,p2) | void Write(string name, object value) |
Members of the base class are inherited.
DiagnosticMethodInfo class sealed
System.Diagnostics.DiagnosticMethodInfo · assembly System.Private.CoreLib
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
DeclaringTypeName | string | read | o.DeclaringTypeName |
DeclaringAssemblyName | string | read | o.DeclaringAssemblyName |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create(p1) | static DiagnosticMethodInfo Create(Delegate delegate)static DiagnosticMethodInfo Create(StackFrame frame) |
DiagnosticSource class abstract
System.Diagnostics.DiagnosticSource · assembly System.Diagnostics.DiagnosticSource
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
IsEnabled | callMethod("IsEnabled",[p1])callMethod("IsEnabled",[p1,p2,p3]) | bool IsEnabled(string name)bool IsEnabled(string name, object arg1, object arg2 = …) |
OnActivityExport | OnActivityExport(p1,p2) | void OnActivityExport(Activity activity, object payload) |
OnActivityImport | OnActivityImport(p1,p2) | void OnActivityImport(Activity activity, object payload) |
StartActivity | callMethod("StartActivity",[p1,p2]) | Activity StartActivity(Activity activity, object args)Activity StartActivity<T>(Activity activity, T args) |
StopActivity | StopActivity(p1,p2) | void StopActivity(Activity activity, object args)void StopActivity<T>(Activity activity, T args) |
Write | Write(p1,p2) | void Write(string name, object value)void Write<T>(string name, T value) |
DistributedContextPropagator class abstract
System.Diagnostics.DistributedContextPropagator · assembly System.Diagnostics.DiagnosticSource
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Fields | IReadOnlyCollection<string> | read | o.Fields |
Current | DistributedContextPropagator | read, write · static | o.Current o.Current = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateDefaultPropagator | CreateDefaultPropagator() | static DistributedContextPropagator CreateDefaultPropagator() |
CreateNoOutputPropagator | CreateNoOutputPropagator() | static DistributedContextPropagator CreateNoOutputPropagator() |
CreatePassThroughPropagator | CreatePassThroughPropagator() | static DistributedContextPropagator CreatePassThroughPropagator() |
ExtractBaggage | callMethod("ExtractBaggage",[p1,p2]) | IEnumerable<KeyValuePair<string, string>> ExtractBaggage(object carrier, DistributedContextPropagator.PropagatorGetterCallback getter) |
ExtractTraceIdAndState | ExtractTraceIdAndState(p1,p2) | void ExtractTraceIdAndState(object carrier, DistributedContextPropagator.PropagatorGetterCallback getter, out string traceId, out string traceState) |
Inject | Inject(p1,p2,p3) | void Inject(Activity activity, object carrier, DistributedContextPropagator.PropagatorSetterCallback setter) |
EventTypeFilter class · extends TraceFilter
System.Diagnostics.EventTypeFilter · assembly System.Diagnostics.TraceSource
Constructors
new EventTypeFilter(SourceLevels level) |
Ring: new EventTypeFilter(args) uses one constructor; the others are chosen by the parameter names: new EventTypeFilter().@New([ :param = value ]) or dnNew("EventTypeFilter",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
EventType | SourceLevels | read, write | o.EventType o.EventType = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ShouldTrace | ShouldTrace(p1,p2,p3,p4,p5,p6,p7,p8) | bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1, object[] data) |
Members of the base class are inherited.
FileVersionInfo class sealed
System.Diagnostics.FileVersionInfo · assembly System.Diagnostics.FileVersionInfo
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Comments | string | read | o.Comments |
CompanyName | string | read | o.CompanyName |
FileBuildPart | int | read | o.FileBuildPart |
FileDescription | string | read | o.FileDescription |
FileMajorPart | int | read | o.FileMajorPart |
FileMinorPart | int | read | o.FileMinorPart |
FileName | string | read | o.FileName |
FilePrivatePart | int | read | o.FilePrivatePart |
FileVersion | string | read | o.FileVersion |
InternalName | string | read | o.InternalName |
IsDebug | bool | read | o.IsDebug |
IsPatched | bool | read | o.IsPatched |
IsPrivateBuild | bool | read | o.IsPrivateBuild |
IsPreRelease | bool | read | o.IsPreRelease |
IsSpecialBuild | bool | read | o.IsSpecialBuild |
Language | string | read | o.Language |
LegalCopyright | string | read | o.LegalCopyright |
LegalTrademarks | string | read | o.LegalTrademarks |
OriginalFilename | string | read | o.OriginalFilename |
PrivateBuild | string | read | o.PrivateBuild |
ProductBuildPart | int | read | o.ProductBuildPart |
ProductMajorPart | int | read | o.ProductMajorPart |
ProductMinorPart | int | read | o.ProductMinorPart |
ProductName | string | read | o.ProductName |
ProductPrivatePart | int | read | o.ProductPrivatePart |
ProductVersion | string | read | o.ProductVersion |
SpecialBuild | string | read | o.SpecialBuild |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetVersionInfo | GetVersionInfo(p1) | static FileVersionInfo GetVersionInfo(string fileName) |
ToString | callMethod("ToString",[]) | string ToString() |
InitializingSwitchEventArgs class sealed · extends EventArgs
System.Diagnostics.InitializingSwitchEventArgs · assembly System.Diagnostics.TraceSource
Constructors
new InitializingSwitchEventArgs(Switch switch) |
Ring: new InitializingSwitchEventArgs(args) uses one constructor; the others are chosen by the parameter names: new InitializingSwitchEventArgs().@New([ :param = value ]) or dnNew("InitializingSwitchEventArgs",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Switch | Switch | read | o.getSwitch() |
Members of the base class are inherited.
InitializingTraceSourceEventArgs class sealed · extends EventArgs
System.Diagnostics.InitializingTraceSourceEventArgs · assembly System.Diagnostics.TraceSource
Constructors
new InitializingTraceSourceEventArgs(TraceSource traceSource) |
Ring: new InitializingTraceSourceEventArgs(args) uses one constructor; the others are chosen by the parameter names: new InitializingTraceSourceEventArgs().@New([ :param = value ]) or dnNew("InitializingTraceSourceEventArgs",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TraceSource | TraceSource | read | o.TraceSource |
WasInitialized | bool | read, write | o.WasInitialized o.WasInitialized = v |
Members of the base class are inherited.
MonitoringDescriptionAttribute class · extends DescriptionAttribute
System.Diagnostics.MonitoringDescriptionAttribute · assembly System.Diagnostics.Process
Constructors
new MonitoringDescriptionAttribute(string description) |
Ring: new MonitoringDescriptionAttribute(args) uses one constructor; the others are chosen by the parameter names: new MonitoringDescriptionAttribute().@New([ :param = value ]) or dnNew("MonitoringDescriptionAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Description | string | read | o.getDescription() |
Members of the base class are inherited.
Process class · extends Component
System.Diagnostics.Process · assembly System.Diagnostics.Process
Implements: IComponent, IDisposable
Constructors
new Process() |
Ring: new Process(args) uses one constructor; the others are chosen by the parameter names: new Process().@New([ :param = value ]) or dnNew("Process",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SafeHandle | SafeProcessHandle | read | o.SafeHandle |
Handle | IntPtr | read | o.Handle |
BasePriority | int | read | o.BasePriority |
ExitCode | int | read | o.ExitCode |
HasExited | bool | read | o.HasExited |
StartTime | DateTime | read | o.StartTime |
ExitTime | DateTime | read | o.ExitTime |
Id | int | read | o.Id |
MachineName | string | read | o.MachineName |
MaxWorkingSet | IntPtr | read, write | o.MaxWorkingSet o.MaxWorkingSet = v |
MinWorkingSet | IntPtr | read, write | o.MinWorkingSet o.MinWorkingSet = v |
Modules | ProcessModuleCollection | read | o.Modules |
NonpagedSystemMemorySize64 | long | read | o.NonpagedSystemMemorySize64 |
NonpagedSystemMemorySize | int | read | o.NonpagedSystemMemorySize |
PagedMemorySize64 | long | read | o.PagedMemorySize64 |
PagedMemorySize | int | read | o.PagedMemorySize |
PagedSystemMemorySize64 | long | read | o.PagedSystemMemorySize64 |
PagedSystemMemorySize | int | read | o.PagedSystemMemorySize |
PeakPagedMemorySize64 | long | read | o.PeakPagedMemorySize64 |
PeakPagedMemorySize | int | read | o.PeakPagedMemorySize |
PeakWorkingSet64 | long | read | o.PeakWorkingSet64 |
PeakWorkingSet | int | read | o.PeakWorkingSet |
PeakVirtualMemorySize64 | long | read | o.PeakVirtualMemorySize64 |
PeakVirtualMemorySize | int | read | o.PeakVirtualMemorySize |
PriorityBoostEnabled | bool | read, write | o.PriorityBoostEnabled o.PriorityBoostEnabled = v |
PriorityClass | ProcessPriorityClass | read, write | o.PriorityClass o.PriorityClass = v |
PrivateMemorySize64 | long | read | o.PrivateMemorySize64 |
PrivateMemorySize | int | read | o.PrivateMemorySize |
ProcessorAffinity | IntPtr | read, write | o.ProcessorAffinity o.ProcessorAffinity = v |
SessionId | int | read | o.SessionId |
StartInfo | ProcessStartInfo | read, write | o.StartInfo o.StartInfo = v |
Threads | ProcessThreadCollection | read | o.Threads |
HandleCount | int | read | o.HandleCount |
VirtualMemorySize64 | long | read | o.VirtualMemorySize64 |
VirtualMemorySize | int | read | o.VirtualMemorySize |
EnableRaisingEvents | bool | read, write | o.EnableRaisingEvents o.EnableRaisingEvents = v |
StandardInput | StreamWriter | read | o.StandardInput |
StandardOutput | StreamReader | read | o.StandardOutput |
StandardError | StreamReader | read | o.StandardError |
WorkingSet64 | long | read | o.WorkingSet64 |
WorkingSet | int | read | o.WorkingSet |
SynchronizingObject | ISynchronizeInvoke | read, write | o.SynchronizingObject o.SynchronizingObject = v |
MainModule | ProcessModule | read | o.MainModule |
PrivilegedProcessorTime | TimeSpan | read | o.PrivilegedProcessorTime |
TotalProcessorTime | TimeSpan | read | o.TotalProcessorTime |
UserProcessorTime | TimeSpan | read | o.UserProcessorTime |
ProcessName | string | read | o.ProcessName |
MainWindowHandle | IntPtr | read | o.MainWindowHandle |
MainWindowTitle | string | read | o.MainWindowTitle |
Responding | bool | read | o.Responding |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
BeginErrorReadLine | callMethod("BeginErrorReadLine",[]) | void BeginErrorReadLine() |
BeginOutputReadLine | callMethod("BeginOutputReadLine",[]) | void BeginOutputReadLine() |
CancelErrorRead | callMethod("CancelErrorRead",[]) | void CancelErrorRead() |
CancelOutputRead | callMethod("CancelOutputRead",[]) | void CancelOutputRead() |
Close | callMethod("Close",[]) | void Close() |
CloseMainWindow | callMethod("CloseMainWindow",[]) | bool CloseMainWindow() |
EnterDebugMode | callMethod("EnterDebugMode",[]) | static void EnterDebugMode() |
GetCurrentProcess | GetCurrentProcess() | static Process GetCurrentProcess() |
GetProcessById | GetProcessById(value)GetProcessById([ :processId = … ])GetProcessById([ :processId = …, :machineName = … ]) | static Process GetProcessById(int processId, string machineName)static Process GetProcessById(int processId) |
GetProcesses | GetProcesses(NULL)GetProcesses(value)GetProcesses([ :machineName = … ]) | static Process[] GetProcesses()static Process[] GetProcesses(string machineName) |
GetProcessesByName | GetProcessesByName(value)GetProcessesByName([ :processName = … ])GetProcessesByName([ :processName = …, :machineName = … ]) | static Process[] GetProcessesByName(string processName)static Process[] GetProcessesByName(string processName, string machineName) |
Kill | callMethod("Kill",[])callMethod("Kill",[p1]) | void Kill()void Kill(bool entireProcessTree) |
LeaveDebugMode | callMethod("LeaveDebugMode",[]) | static void LeaveDebugMode() |
Refresh | callMethod("Refresh",[]) | void Refresh() |
Start | Start(NULL)Start(value)Start([ :fileName = … ])Start([ :startInfo = … ])Start([ :fileName = …, :arguments = … ])Start([ :fileName = …, :userName = …, :password = …, :domain = … ]) | bool Start()static Process Start(string fileName)static Process Start(string fileName, string arguments)static Process Start(string fileName, IEnumerable<string> arguments)static Process Start(ProcessStartInfo startInfo)static Process Start(string fileName, string userName, SecureString password, string domain)static Process Start(string fileName, string arguments, string userName, SecureString password, string domain) |
ToString | callMethod("ToString",[]) | string ToString() |
WaitForExit | WaitForExit(NULL)WaitForExit(value)WaitForExit([ :milliseconds = … ])WaitForExit([ :timeout = … ]) | void WaitForExit()bool WaitForExit(int milliseconds)bool WaitForExit(TimeSpan timeout) |
WaitForExitAsync | WaitForExitAsync(value)WaitForExitAsync([ :cancellationToken = … ]) | Task WaitForExitAsync(CancellationToken cancellationToken = …) |
WaitForInputIdle | callMethod("WaitForInputIdle",[])callMethod("WaitForInputIdle",[p1]) | bool WaitForInputIdle()bool WaitForInputIdle(int milliseconds)bool WaitForInputIdle(TimeSpan timeout) |
Events
| Event | Handler type | In Ring |
|---|---|---|
OutputDataReceived | DataReceivedEventHandler | o.setOutputDataReceivedEvent(code) · o.clearOutputDataReceivedEvent() |
ErrorDataReceived | DataReceivedEventHandler | o.setErrorDataReceivedEvent(code) · o.clearErrorDataReceivedEvent() |
Exited | EventHandler | o.setExitedEvent(code) · o.clearExitedEvent() |
Members of the base class are inherited.
ProcessModule class · extends Component
System.Diagnostics.ProcessModule · assembly System.Diagnostics.Process
Implements: IComponent, IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ModuleName | string | read | o.ModuleName |
FileName | string | read | o.FileName |
BaseAddress | IntPtr | read | o.BaseAddress |
ModuleMemorySize | int | read | o.ModuleMemorySize |
EntryPointAddress | IntPtr | read | o.EntryPointAddress |
FileVersionInfo | FileVersionInfo | read | o.FileVersionInfo |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |
Members of the base class are inherited.
ProcessModuleCollection class · extends ReadOnlyCollectionBase
System.Diagnostics.ProcessModuleCollection · assembly System.Diagnostics.Process
Implements: ICollection, IEnumerable
Constructors
new ProcessModuleCollection(ProcessModule[] processModules) |
Ring: new ProcessModuleCollection(args) uses one constructor; the others are chosen by the parameter names: new ProcessModuleCollection().@New([ :param = value ]) or dnNew("ProcessModuleCollection",[ :param = value ]).
Indexer
o.Item(int index) → ProcessModule
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Contains | Contains(p1) | bool Contains(ProcessModule module) |
CopyTo | CopyTo(p1,p2) | void CopyTo(ProcessModule[] array, int index) |
IndexOf | IndexOf(p1) | int IndexOf(ProcessModule module) |
Members of the base class are inherited.
ProcessStartInfo class sealed
System.Diagnostics.ProcessStartInfo · assembly System.Diagnostics.Process
Constructors
new ProcessStartInfo() |
new ProcessStartInfo(string fileName) |
new ProcessStartInfo(string fileName, string arguments) |
new ProcessStartInfo(string fileName, IEnumerable<string> arguments) |
Ring: new ProcessStartInfo(args) uses one constructor; the others are chosen by the parameter names: new ProcessStartInfo().@New([ :param = value ]) or dnNew("ProcessStartInfo",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Arguments | string | read, write | o.Arguments o.Arguments = v |
ArgumentList | Collection<string> | read | o.ArgumentList |
CreateNoWindow | bool | read, write | o.CreateNoWindow o.CreateNoWindow = v |
EnvironmentVariables | StringDictionary | read | o.EnvironmentVariables |
Environment | IDictionary<string, string> | read | o.Environment |
RedirectStandardInput | bool | read, write | o.RedirectStandardInput o.RedirectStandardInput = v |
RedirectStandardOutput | bool | read, write | o.RedirectStandardOutput o.RedirectStandardOutput = v |
RedirectStandardError | bool | read, write | o.RedirectStandardError o.RedirectStandardError = v |
StandardInputEncoding | Encoding | read, write | o.StandardInputEncoding o.StandardInputEncoding = v |
StandardErrorEncoding | Encoding | read, write | o.StandardErrorEncoding o.StandardErrorEncoding = v |
StandardOutputEncoding | Encoding | read, write | o.StandardOutputEncoding o.StandardOutputEncoding = v |
FileName | string | read, write | o.FileName o.FileName = v |
WorkingDirectory | string | read, write | o.WorkingDirectory o.WorkingDirectory = v |
ErrorDialog | bool | read, write | o.ErrorDialog o.ErrorDialog = v |
ErrorDialogParentHandle | IntPtr | read, write | o.ErrorDialogParentHandle o.ErrorDialogParentHandle = v |
UserName | string | read, write | o.UserName o.UserName = v |
Verb | string | read, write | o.Verb o.Verb = v |
WindowStyle | ProcessWindowStyle | read, write | o.WindowStyle o.WindowStyle = v |
PasswordInClearText | string | read, write | o.PasswordInClearText o.PasswordInClearText = v |
Domain | string | read, write | o.Domain o.Domain = v |
LoadUserProfile | bool | read, write | o.LoadUserProfile o.LoadUserProfile = v |
UseCredentialsForNetworkingOnly | bool | read, write | o.UseCredentialsForNetworkingOnly o.UseCredentialsForNetworkingOnly = v |
Password | SecureString | read, write | o.Password o.Password = v |
Verbs | string[] | read | o.Verbs |
UseShellExecute | bool | read, write | o.UseShellExecute o.UseShellExecute = v |
ProcessThread class · extends Component
System.Diagnostics.ProcessThread · assembly System.Diagnostics.Process
Implements: IComponent, IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BasePriority | int | read | o.BasePriority |
CurrentPriority | int | read | o.CurrentPriority |
Id | int | read | o.Id |
PriorityBoostEnabled | bool | read, write | o.PriorityBoostEnabled o.PriorityBoostEnabled = v |
PriorityLevel | ThreadPriorityLevel | read, write | o.PriorityLevel o.PriorityLevel = v |
StartAddress | IntPtr | read | o.StartAddress |
ThreadState | ThreadState | read | o.ThreadState |
WaitReason | ThreadWaitReason | read | o.WaitReason |
StartTime | DateTime | read | o.StartTime |
IdealProcessor | int | write | o.IdealProcessor o.IdealProcessor = v |
ProcessorAffinity | IntPtr | write | o.ProcessorAffinity o.ProcessorAffinity = v |
PrivilegedProcessorTime | TimeSpan | read | o.PrivilegedProcessorTime |
TotalProcessorTime | TimeSpan | read | o.TotalProcessorTime |
UserProcessorTime | TimeSpan | read | o.UserProcessorTime |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ResetIdealProcessor | callMethod("ResetIdealProcessor",[]) | void ResetIdealProcessor() |
Members of the base class are inherited.
ProcessThreadCollection class · extends ReadOnlyCollectionBase
System.Diagnostics.ProcessThreadCollection · assembly System.Diagnostics.Process
Implements: ICollection, IEnumerable
Constructors
new ProcessThreadCollection(ProcessThread[] processThreads) |
Ring: new ProcessThreadCollection(args) uses one constructor; the others are chosen by the parameter names: new ProcessThreadCollection().@New([ :param = value ]) or dnNew("ProcessThreadCollection",[ :param = value ]).
Indexer
o.Item(int index) → ProcessThread
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | int Add(ProcessThread thread) |
Contains | Contains(p1) | bool Contains(ProcessThread thread) |
CopyTo | CopyTo(p1,p2) | void CopyTo(ProcessThread[] array, int index) |
IndexOf | IndexOf(p1) | int IndexOf(ProcessThread thread) |
Insert | Insert(p1,p2) | void Insert(int index, ProcessThread thread) |
Remove | Remove(p1) | void Remove(ProcessThread thread) |
Members of the base class are inherited.
SourceFilter class · extends TraceFilter
System.Diagnostics.SourceFilter · assembly System.Diagnostics.TraceSource
Constructors
new SourceFilter(string source) |
Ring: new SourceFilter(args) uses one constructor; the others are chosen by the parameter names: new SourceFilter().@New([ :param = value ]) or dnNew("SourceFilter",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Source | string | read, write | o.Source o.Source = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ShouldTrace | ShouldTrace(p1,p2,p3,p4,p5,p6,p7,p8) | bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1, object[] data) |
Members of the base class are inherited.
SourceSwitch class · extends Switch_
System.Diagnostics.SourceSwitch · assembly System.Diagnostics.TraceSource
Constructors
new SourceSwitch(string name) |
new SourceSwitch(string displayName, string defaultSwitchValue) |
Ring: new SourceSwitch(args) uses one constructor; the others are chosen by the parameter names: new SourceSwitch().@New([ :param = value ]) or dnNew("SourceSwitch",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Level | SourceLevels | read, write | o.Level o.Level = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ShouldTrace | ShouldTrace(p1) | bool ShouldTrace(TraceEventType eventType) |
Members of the base class are inherited.
StackFrame class
System.Diagnostics.StackFrame · assembly System.Private.CoreLib
Constructors
new StackFrame() |
new StackFrame(bool needFileInfo) |
new StackFrame(int skipFrames) |
new StackFrame(int skipFrames, bool needFileInfo) |
new StackFrame(string fileName, int lineNumber) |
new StackFrame(string fileName, int lineNumber, int colNumber) |
Ring: new StackFrame(args) uses one constructor; the others are chosen by the parameter names: new StackFrame().@New([ :param = value ]) or dnNew("StackFrame",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OFFSET_UNKNOWN | int | constant · static | o.OFFSET_UNKNOWN |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetFileColumnNumber | callMethod("GetFileColumnNumber",[]) | int GetFileColumnNumber() |
GetFileLineNumber | callMethod("GetFileLineNumber",[]) | int GetFileLineNumber() |
GetFileName | callMethod("GetFileName",[]) | string GetFileName() |
GetILOffset | callMethod("GetILOffset",[]) | int GetILOffset() |
GetMethod | callMethod("GetMethod",[]) | MethodBase GetMethod() |
GetNativeOffset | callMethod("GetNativeOffset",[]) | int GetNativeOffset() |
ToString | callMethod("ToString",[]) | string ToString() |
StackFrameExtensions class static
System.Diagnostics.StackFrameExtensions · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetNativeImageBase | GetNativeImageBase(p1) | static IntPtr GetNativeImageBase(StackFrame stackFrame) |
GetNativeIP | GetNativeIP(p1) | static IntPtr GetNativeIP(StackFrame stackFrame) |
HasILOffset | HasILOffset(p1) | static bool HasILOffset(StackFrame stackFrame) |
HasMethod | HasMethod(p1) | static bool HasMethod(StackFrame stackFrame) |
HasNativeImage | HasNativeImage(p1) | static bool HasNativeImage(StackFrame stackFrame) |
HasSource | HasSource(p1) | static bool HasSource(StackFrame stackFrame) |
StackTrace class
System.Diagnostics.StackTrace · assembly System.Private.CoreLib
Constructors
new StackTrace() |
new StackTrace(bool fNeedFileInfo) |
new StackTrace(int skipFrames) |
new StackTrace(int skipFrames, bool fNeedFileInfo) |
new StackTrace(Exception e) |
new StackTrace(Exception e, bool fNeedFileInfo) |
new StackTrace(Exception e, int skipFrames) |
new StackTrace(Exception e, int skipFrames, bool fNeedFileInfo) |
new StackTrace(StackFrame frame) |
new StackTrace(IEnumerable<StackFrame> frames) |
Ring: new StackTrace(args) uses one constructor; the others are chosen by the parameter names: new StackTrace().@New([ :param = value ]) or dnNew("StackTrace",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FrameCount | int | read | o.FrameCount |
METHODS_TO_SKIP | int | constant · static | o.METHODS_TO_SKIP |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetFrame | callMethod("GetFrame",[p1]) | StackFrame GetFrame(int index) |
GetFrames | callMethod("GetFrames",[]) | StackFrame[] GetFrames() |
ToString | callMethod("ToString",[]) | string ToString() |
StackTraceHiddenAttribute class sealed · extends Attribute
System.Diagnostics.StackTraceHiddenAttribute · assembly System.Private.CoreLib
Constructors
new StackTraceHiddenAttribute() |
Ring: new StackTraceHiddenAttribute(args) uses one constructor; the others are chosen by the parameter names: new StackTraceHiddenAttribute().@New([ :param = value ]) or dnNew("StackTraceHiddenAttribute",[ :param = value ]).
Members of the base class are inherited.
Stopwatch class
System.Diagnostics.Stopwatch · assembly System.Private.CoreLib
Constructors
new Stopwatch() |
Ring: new Stopwatch(args) uses one constructor; the others are chosen by the parameter names: new Stopwatch().@New([ :param = value ]) or dnNew("Stopwatch",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsRunning | bool | read | o.IsRunning |
Elapsed | TimeSpan | read | o.Elapsed |
ElapsedMilliseconds | long | read | o.ElapsedMilliseconds |
ElapsedTicks | long | read | o.ElapsedTicks |
Frequency | long | read · static | o.Frequency |
IsHighResolution | bool | read · static | o.IsHighResolution |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetElapsedTime | GetElapsedTime(value)GetElapsedTime([ :startingTimestamp = … ])GetElapsedTime([ :startingTimestamp = …, :endingTimestamp = … ]) | static TimeSpan GetElapsedTime(long startingTimestamp)static TimeSpan GetElapsedTime(long startingTimestamp, long endingTimestamp) |
GetTimestamp | callMethod("GetTimestamp",[]) | static long GetTimestamp() |
Reset | callMethod("Reset",[]) | void Reset() |
Restart | callMethod("Restart",[]) | void Restart() |
Start | callMethod("Start",[]) | void Start() |
StartNew | StartNew() | static Stopwatch StartNew() |
Stop | callMethod("Stop",[]) | void Stop() |
ToString | callMethod("ToString",[]) | string ToString() |
Switch_ class abstract
System.Diagnostics.Switch · assembly System.Diagnostics.TraceSource
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DisplayName | string | read | o.DisplayName |
Description | string | read | o.Description |
Attributes | StringDictionary | read | o.Attributes |
DefaultValue | string | read | o.DefaultValue |
Value | string | read, write | o.Value o.Value = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Refresh | callMethod("Refresh",[]) | void Refresh() |
Events
| Event | Handler type | In Ring |
|---|---|---|
Initializing | EventHandler<InitializingSwitchEventArgs> | o.setInitializingEvent(code) · o.clearInitializingEvent() |
SwitchAttribute class sealed · extends Attribute
System.Diagnostics.SwitchAttribute · assembly System.Diagnostics.TraceSource
Constructors
new SwitchAttribute(string switchName, Type switchType) |
Ring: new SwitchAttribute(args) uses one constructor; the others are chosen by the parameter names: new SwitchAttribute().@New([ :param = value ]) or dnNew("SwitchAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SwitchName | string | read, write | o.SwitchName o.SwitchName = v |
SwitchType | Type | read, write | o.SwitchType o.SwitchType = v |
SwitchDescription | string | read, write | o.SwitchDescription o.SwitchDescription = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetAll | GetAll(p1) | static SwitchAttribute[] GetAll(Assembly assembly) |
Members of the base class are inherited.
SwitchLevelAttribute class sealed · extends Attribute
System.Diagnostics.SwitchLevelAttribute · assembly System.Diagnostics.TraceSource
Constructors
new SwitchLevelAttribute(Type switchLevelType) |
Ring: new SwitchLevelAttribute(args) uses one constructor; the others are chosen by the parameter names: new SwitchLevelAttribute().@New([ :param = value ]) or dnNew("SwitchLevelAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SwitchLevelType | Type | read, write | o.SwitchLevelType o.SwitchLevelType = v |
Members of the base class are inherited.
TagList struct
System.Diagnostics.TagList · assembly System.Diagnostics.DiagnosticSource
Implements: IEnumerable
Constructors
new TagList(ReadOnlySpan<KeyValuePair<string, object>> tagList) |
Ring: new TagList(args) uses one constructor; the others are chosen by the parameter names: new TagList().@New([ :param = value ]) or dnNew("TagList",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
IsReadOnly | bool | read | o.IsReadOnly |
Indexer
o.Item(int index) → KeyValuePair<string, object> · o.SetItem(index,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[p1])callMethod("Add",[p1,p2]) | void Add(string key, object value)void Add(KeyValuePair<string, object> tag) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(KeyValuePair<string, object> item) |
CopyTo | CopyTo(p1,p2) | void CopyTo(Span<KeyValuePair<string, object>> tags)void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<KeyValuePair<string, object>> GetEnumerator() |
IndexOf | IndexOf(p1) | int IndexOf(KeyValuePair<string, object> item) |
Insert | Insert(p1,p2) | void Insert(int index, KeyValuePair<string, object> item) |
Remove | Remove(p1) | bool Remove(KeyValuePair<string, object> item) |
RemoveAt | callMethod("RemoveAt",[p1]) | void RemoveAt(int index) |
TagListEnumerator struct
System.Diagnostics.TagList+Enumerator · assembly System.Diagnostics.DiagnosticSource
Implements: IDisposable, IEnumerator
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | KeyValuePair<string, object> | read | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
MoveNext | callMethod("MoveNext",[]) | bool MoveNext() |
Reset | callMethod("Reset",[]) | void Reset() |
TextWriterTraceListener class · extends TraceListener
System.Diagnostics.TextWriterTraceListener · assembly System.Diagnostics.TextWriterTraceListener
Implements: IDisposable
Constructors
new TextWriterTraceListener() |
new TextWriterTraceListener(Stream stream) |
new TextWriterTraceListener(Stream stream, string name) |
new TextWriterTraceListener(TextWriter writer) |
new TextWriterTraceListener(TextWriter writer, string name) |
new TextWriterTraceListener(string fileName) |
new TextWriterTraceListener(string fileName, string name) |
Ring: new TextWriterTraceListener(args) uses one constructor; the others are chosen by the parameter names: new TextWriterTraceListener().@New([ :param = value ]) or dnNew("TextWriterTraceListener",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Writer | TextWriter | read, write | o.Writer o.Writer = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
Flush | callMethod("Flush",[]) | void Flush() |
Write | callMethod("Write",[p1]) | void Write(string message) |
WriteLine | callMethod("WriteLine",[p1]) | void WriteLine(string message) |
Members of the base class are inherited.
Trace class sealed
System.Diagnostics.Trace · assembly System.Diagnostics.TraceSource
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CorrelationManager | CorrelationManager | read · static | o.CorrelationManager |
Listeners | TraceListenerCollection | read · static | o.Listeners |
AutoFlush | bool | read, write · static | o.AutoFlush o.AutoFlush = v |
UseGlobalLock | bool | read, write · static | o.UseGlobalLock o.UseGlobalLock = v |
IndentLevel | int | read, write · static | o.IndentLevel o.IndentLevel = v |
IndentSize | int | read, write · static | o.IndentSize o.IndentSize = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Assert | Assert(value)Assert([ :condition = … ])Assert([ :condition = …, :message = … ])Assert([ :condition = …, :message = …, :detailMessage = … ]) | static void Assert(bool condition)static void Assert(bool condition, string message = …)static void Assert(bool condition, string message, string detailMessage) |
Close | callMethod("Close",[]) | static void Close() |
Fail | Fail(value)Fail([ :message = … ])Fail([ :message = …, :detailMessage = … ]) | static void Fail(string message)static void Fail(string message, string detailMessage) |
Flush | callMethod("Flush",[]) | static void Flush() |
Indent | callMethod("Indent",[]) | static void Indent() |
Refresh | callMethod("Refresh",[]) | static void Refresh() |
TraceError | TraceError(value)TraceError([ :message = … ])TraceError([ :format = …, :args = … ]) | static void TraceError(string message)static void TraceError(string format, object[] args) |
TraceInformation | TraceInformation(value)TraceInformation([ :message = … ])TraceInformation([ :format = …, :args = … ]) | static void TraceInformation(string message)static void TraceInformation(string format, object[] args) |
TraceWarning | TraceWarning(value)TraceWarning([ :message = … ])TraceWarning([ :format = …, :args = … ]) | static void TraceWarning(string message)static void TraceWarning(string format, object[] args) |
Unindent | callMethod("Unindent",[]) | static void Unindent() |
Write | Write(value)Write([ :message = … ])Write([ :value = … ])Write([ :message = …, :category = … ])Write([ :value = …, :category = … ]) | static void Write(string message)static void Write(object value)static void Write(string message, string category)static void Write(object value, string category) |
WriteIf | WriteIf([ :condition = …, :message = … ])WriteIf([ :condition = …, :value = … ])WriteIf([ :condition = …, :message = …, :category = … ])WriteIf([ :condition = …, :value = …, :category = … ]) | static void WriteIf(bool condition, string message)static void WriteIf(bool condition, object value)static void WriteIf(bool condition, string message, string category)static void WriteIf(bool condition, object value, string category) |
WriteLine | WriteLine(value)WriteLine([ :message = … ])WriteLine([ :value = … ])WriteLine([ :message = …, :category = … ])WriteLine([ :value = …, :category = … ]) | static void WriteLine(string message)static void WriteLine(object value)static void WriteLine(string message, string category)static void WriteLine(object value, string category) |
WriteLineIf | WriteLineIf([ :condition = …, :message = … ])WriteLineIf([ :condition = …, :value = … ])WriteLineIf([ :condition = …, :message = …, :category = … ])WriteLineIf([ :condition = …, :value = …, :category = … ]) | static void WriteLineIf(bool condition, string message)static void WriteLineIf(bool condition, object value)static void WriteLineIf(bool condition, string message, string category)static void WriteLineIf(bool condition, object value, string category) |
Events
| Event | Handler type | In Ring |
|---|---|---|
Refreshing | EventHandler | o.setRefreshingEvent(code) · o.clearRefreshingEvent() |
TraceEventCache class
System.Diagnostics.TraceEventCache · assembly System.Diagnostics.TraceSource
Constructors
new TraceEventCache() |
Ring: new TraceEventCache(args) uses one constructor; the others are chosen by the parameter names: new TraceEventCache().@New([ :param = value ]) or dnNew("TraceEventCache",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DateTime | DateTime | read | o.DateTime |
ProcessId | int | read | o.ProcessId |
ThreadId | string | read | o.ThreadId |
Timestamp | long | read | o.Timestamp |
Callstack | string | read | o.Callstack |
LogicalOperationStack | Stack | read | o.LogicalOperationStack |
TraceFilter class abstract
System.Diagnostics.TraceFilter · assembly System.Diagnostics.TraceSource
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ShouldTrace | ShouldTrace(p1,p2,p3,p4,p5,p6,p7,p8) | bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1, object[] data) |
TraceListener class abstract
System.Diagnostics.TraceListener · assembly System.Diagnostics.TraceSource
Implements: IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Attributes | StringDictionary | read | o.Attributes |
Name | string | read, write | o.Name o.Name = v |
IsThreadSafe | bool | read | o.IsThreadSafe |
IndentLevel | int | read, write | o.IndentLevel o.IndentLevel = v |
IndentSize | int | read, write | o.IndentSize o.IndentSize = v |
Filter | TraceFilter | read, write | o.Filter o.Filter = v |
TraceOutputOptions | TraceOptions | read, write | o.TraceOutputOptions o.TraceOutputOptions = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Fail | callMethod("Fail",[p1])callMethod("Fail",[p1,p2]) | void Fail(string message)void Fail(string message, string detailMessage) |
Flush | callMethod("Flush",[]) | void Flush() |
TraceData | TraceData(p1,p2,p3,p4,p5) | void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data)void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, object[] data) |
TraceEvent | TraceEvent([ :eventCache = …, :source = …, :eventType = …, :id = … ])TraceEvent([ :eventCache = …, :source = …, :eventType = …, :id = …, :message = … ])TraceEvent([ :eventCache = …, :source = …, :eventType = …, :id = …, :format = …, :args = … ]) | void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id)void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, string message)void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format, object[] args) |
TraceTransfer | TraceTransfer(p1,p2,p3,p4,p5) | void TraceTransfer(TraceEventCache eventCache, string source, int id, string message, Guid relatedActivityId) |
Write | callMethod("Write",[p1])callMethod("Write",[p1,p2]) | void Write(string message)void Write(object o)void Write(string message, string category)void Write(object o, string category) |
WriteLine | callMethod("WriteLine",[p1])callMethod("WriteLine",[p1,p2]) | void WriteLine(string message)void WriteLine(object o)void WriteLine(string message, string category)void WriteLine(object o, string category) |
TraceListenerCollection class
System.Diagnostics.TraceListenerCollection · assembly System.Diagnostics.TraceSource
Implements: IList, ICollection, IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Indexer
o.Item(int i) → TraceListener · o.SetItem(i,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | int Add(TraceListener listener) |
AddRange | AddRange(p1) | void AddRange(TraceListener[] value)void AddRange(TraceListenerCollection value) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(TraceListener listener) |
CopyTo | CopyTo(p1,p2) | void CopyTo(TraceListener[] listeners, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator GetEnumerator() |
IndexOf | IndexOf(p1) | int IndexOf(TraceListener listener) |
Insert | Insert(p1,p2) | void Insert(int index, TraceListener listener) |
Remove | Remove(p1) | void Remove(TraceListener listener)void Remove(string name) |
RemoveAt | callMethod("RemoveAt",[p1]) | void RemoveAt(int index) |
TraceSource class
System.Diagnostics.TraceSource · assembly System.Diagnostics.TraceSource
Constructors
new TraceSource(string name) |
new TraceSource(string name, SourceLevels defaultLevel) |
Ring: new TraceSource(args) uses one constructor; the others are chosen by the parameter names: new TraceSource().@New([ :param = value ]) or dnNew("TraceSource",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Attributes | StringDictionary | read | o.Attributes |
DefaultLevel | SourceLevels | read | o.DefaultLevel |
Name | string | read | o.Name |
Listeners | TraceListenerCollection | read | o.Listeners |
Switch | SourceSwitch | read, write | o.getSwitch() o.setSwitch(v) |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
Flush | callMethod("Flush",[]) | void Flush() |
TraceData | TraceData(p1,p2,p3) | void TraceData(TraceEventType eventType, int id, object data)void TraceData(TraceEventType eventType, int id, object[] data) |
TraceEvent | TraceEvent([ :eventType = …, :id = … ])TraceEvent([ :eventType = …, :id = …, :message = … ])TraceEvent([ :eventType = …, :id = …, :format = …, :args = … ]) | void TraceEvent(TraceEventType eventType, int id)void TraceEvent(TraceEventType eventType, int id, string message)void TraceEvent(TraceEventType eventType, int id, string format, object[] args) |
TraceInformation | callMethod("TraceInformation",[p1])callMethod("TraceInformation",[p1,p2]) | void TraceInformation(string message)void TraceInformation(string format, object[] args) |
TraceTransfer | TraceTransfer(p1,p2,p3) | void TraceTransfer(int id, string message, Guid relatedActivityId) |
Events
| Event | Handler type | In Ring |
|---|---|---|
Initializing | EventHandler<InitializingTraceSourceEventArgs> | o.setInitializingEvent(code) · o.clearInitializingEvent() |
TraceSwitch class · extends Switch_
System.Diagnostics.TraceSwitch · assembly System.Diagnostics.TraceSource
Constructors
new TraceSwitch(string displayName, string description) |
new TraceSwitch(string displayName, string description, string defaultSwitchValue) |
Ring: new TraceSwitch(args) uses one constructor; the others are chosen by the parameter names: new TraceSwitch().@New([ :param = value ]) or dnNew("TraceSwitch",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Level | TraceLevel | read, write | o.Level o.Level = v |
TraceError | bool | read | o.TraceError |
TraceWarning | bool | read | o.TraceWarning |
TraceInfo | bool | read | o.TraceInfo |
TraceVerbose | bool | read | o.TraceVerbose |
Members of the base class are inherited.
UnreachableException class sealed · extends Exception
System.Diagnostics.UnreachableException · assembly System.Private.CoreLib
Implements: ISerializable
Constructors
new UnreachableException() |
new UnreachableException(string message) |
new UnreachableException(string message, Exception innerException) |
Ring: new UnreachableException(args) uses one constructor; the others are chosen by the parameter names: new UnreachableException().@New([ :param = value ]) or dnNew("UnreachableException",[ :param = value ]).
Members of the base class are inherited.
XmlWriterTraceListener class · extends TextWriterTraceListener
System.Diagnostics.XmlWriterTraceListener · assembly System.Diagnostics.TextWriterTraceListener
Implements: IDisposable
Constructors
new XmlWriterTraceListener(Stream stream) |
new XmlWriterTraceListener(Stream stream, string name) |
new XmlWriterTraceListener(TextWriter writer) |
new XmlWriterTraceListener(TextWriter writer, string name) |
new XmlWriterTraceListener(string filename) |
new XmlWriterTraceListener(string filename, string name) |
Ring: new XmlWriterTraceListener(args) uses one constructor; the others are chosen by the parameter names: new XmlWriterTraceListener().@New([ :param = value ]) or dnNew("XmlWriterTraceListener",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
Fail | callMethod("Fail",[p1,p2]) | void Fail(string message, string detailMessage) |
TraceData | TraceData(p1,p2,p3,p4,p5) | void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data)void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, object[] data) |
TraceEvent | TraceEvent([ :eventCache = …, :source = …, :eventType = …, :id = …, :message = … ])TraceEvent([ :eventCache = …, :source = …, :eventType = …, :id = …, :format = …, :args = … ]) | void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format, object[] args)void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, string message) |
TraceTransfer | TraceTransfer(p1,p2,p3,p4,p5) | void TraceTransfer(TraceEventCache eventCache, string source, int id, string message, Guid relatedActivityId) |
Write | callMethod("Write",[p1]) | void Write(string message) |
WriteLine | callMethod("WriteLine",[p1]) | void WriteLine(string message) |
Members of the base class are inherited.