Redigera

Dela via


WellKnownObjectMode Enum

Definition

Defines how well-known objects are activated.

public enum class WellKnownObjectMode
[System.Serializable]
public enum WellKnownObjectMode
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum WellKnownObjectMode
[<System.Serializable>]
type WellKnownObjectMode = 
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type WellKnownObjectMode = 
Public Enum WellKnownObjectMode
Inheritance
WellKnownObjectMode
Attributes

Fields

Name Value Description
Singleton 1

Every incoming message is serviced by the same object instance.

SingleCall 2

Every incoming message is serviced by a new object instance.

Remarks

Well-known objects are objects exposed on the server end. The current enumerator is used by the RemotingConfiguration.RegisterWellKnownServiceType method on the server side.

Applies to