RemotingServices.LogRemotingStage 方法

此方法支持 .NET 基础结构,但不适合在代码中直接使用。

注意:此方法现在已过时。

记录与外部调试器进行的远程处理交换所处的阶段。

**命名空间:**System.Runtime.Remoting
**程序集:**mscorlib(在 mscorlib.dll 中)

语法

声明
<ConditionalAttribute("REMOTING_PERF")> _
<ObsoleteAttribute("Use of this method is not recommended. The LogRemotingStage existed for internal diagnostic purposes only.")> _
Public Shared Sub LogRemotingStage ( _
    stage As Integer _
)
用法
Dim stage As Integer

RemotingServices.LogRemotingStage(stage)
[ConditionalAttribute("REMOTING_PERF")] 
[ObsoleteAttribute("Use of this method is not recommended. The LogRemotingStage existed for internal diagnostic purposes only.")] 
public static void LogRemotingStage (
    int stage
)
[ConditionalAttribute(L"REMOTING_PERF")] 
[ObsoleteAttribute(L"Use of this method is not recommended. The LogRemotingStage existed for internal diagnostic purposes only.")] 
public:
static void LogRemotingStage (
    int stage
)
/** @attribute ConditionalAttribute("REMOTING_PERF") */ 
/** @attribute ObsoleteAttribute("Use of this method is not recommended. The LogRemotingStage existed for internal diagnostic purposes only.") */ 
public static void LogRemotingStage (
    int stage
)
ConditionalAttribute("REMOTING_PERF") 
ObsoleteAttribute("Use of this method is not recommended. The LogRemotingStage existed for internal diagnostic purposes only.") 
public static function LogRemotingStage (
    stage : int
)

参数

  • stage
    标识远程处理交换中所处的阶段的内部定义常数。

备注

"REMOTING_PERF" 预处理符号通过使用 ConditionalAttribute 属性应用于方法。

.NET Framework 安全性

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:1.0、1.1
在 2.0 中过时(编译器警告)

请参见

参考

RemotingServices 类
RemotingServices 成员
System.Runtime.Remoting 命名空间