WellKnownObjectMode WellKnownObjectMode WellKnownObjectMode WellKnownObjectMode Enum

定义

定义如何激活已知对象。Defines how well-known objects are activated.

public enum class WellKnownObjectMode
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum WellKnownObjectMode
type WellKnownObjectMode = 
Public Enum WellKnownObjectMode
继承
WellKnownObjectModeWellKnownObjectModeWellKnownObjectModeWellKnownObjectMode
属性

字段

SingleCall SingleCall SingleCall SingleCall 2

每个传入的消息由新的对象实例提供服务。Every incoming message is serviced by a new object instance.

Singleton Singleton Singleton Singleton 1

每个传入的消息由同一个对象实例提供服务。Every incoming message is serviced by the same object instance.

注解

已知对象是在服务器端公开的对象。Well-known objects are objects exposed on the server end. 当前枚举器由服务器端上RemotingConfiguration.RegisterWellKnownServiceType的方法使用。The current enumerator is used by the RemotingConfiguration.RegisterWellKnownServiceType method on the server side.

适用于