ActivityContext.Inequality(ActivityContext, ActivityContext) 运算符

定义

确定两个指定的 ActivityContext 值是否不相等。

public:
 static bool operator !=(System::Diagnostics::ActivityContext left, System::Diagnostics::ActivityContext right);
public static bool operator != (System.Diagnostics.ActivityContext left, System.Diagnostics.ActivityContext right);
static member op_Inequality : System.Diagnostics.ActivityContext * System.Diagnostics.ActivityContext -> bool
Public Shared Operator != (left As ActivityContext, right As ActivityContext) As Boolean

参数

left
ActivityContext

要比较的第一个值。

right
ActivityContext

要比较的第二个值。

返回

如果 leftright 不相等,则为 true;否则为 false

适用于