WellKnownObjectMode Enum

Definition

Defines how well-known objects are activated.

C#
[System.Serializable]
public enum WellKnownObjectMode
C#
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1