Op Englesch liesen Editéieren

Deelen iwwer


InternalRemotingServices.RemotingAssert(Boolean, String) Method

Definition

Instructs an internal debugger to check for a condition and display a message if the condition is false.

C#
[System.Diagnostics.Conditional("_DEBUG")]
public static void RemotingAssert(bool condition, string message);

Parameters

condition
Boolean

true to prevent a message from being displayed; otherwise, false.

message
String

The message to display if condition is false.

Attributes

Remarks

You do not need to call the static methods of the InternalRemotingServices class.

A "_DEBUG" preprocessing symbol is applied to the method by means of the ConditionalAttribute attribute.

Applies to

Produkt Versiounen
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1