InternalRemotingServices.RemotingAssert(Boolean, String) 메서드

정의

내부 디버거에 조건을 확인하고 조건이 있으면 메시지를 false표시하도록 지시합니다.

public:
 static void RemotingAssert(bool condition, System::String ^ message);
[System.Diagnostics.Conditional("_DEBUG")]
public static void RemotingAssert(bool condition, string message);
[<System.Diagnostics.Conditional("_DEBUG")>]
static member RemotingAssert : bool * string -> unit
Public Shared Sub RemotingAssert (condition As Boolean, message As String)

매개 변수

condition
Boolean

true메시지가 표시되지 않도록 하려면 을 선택합니다. 그렇지 않으면 . false

message
String

표시할 메시지(있는 경우 condition )입니다 false.

특성

설명

클래스의 InternalRemotingServices 메서드를 static 호출할 필요가 없습니다.

"_DEBUG" 전처리 기호는 특성을 통해 ConditionalAttribute 메서드에 적용됩니다.

적용 대상