RemotingConfiguration Class

Provides various static methods for configuring the remoting infrastructure.

System::Object
  System.Runtime.Remoting::RemotingConfiguration

Namespace:  System.Runtime.Remoting
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)]
public ref class RemotingConfiguration abstract sealed

The RemotingConfiguration type exposes the following members.

  NameDescription
Public propertyStatic memberApplicationIdGets the ID of the currently executing application.
Public propertyStatic memberApplicationNameGets or sets the name of a remoting application.
Public propertyStatic memberCustomErrorsModeGets or sets value that indicates how custom errors are handled.
Public propertyStatic memberProcessIdGets the ID of the currently executing process.
Top

  NameDescription
Public methodStatic memberConfigure(String) Obsolete. Reads the configuration file and configures the remoting infrastructure. Configure(String) is obsolete. Please use Configure(String, Boolean) instead.
Public methodStatic memberConfigure(String, Boolean)Reads the configuration file and configures the remoting infrastructure.
Public methodStatic memberCustomErrorsEnabledIndicates whether the server channels in this application domain return filtered or complete exception information to local or remote callers.
Public methodStatic memberGetRegisteredActivatedClientTypesRetrieves an array of object types registered on the client as types that will be activated remotely.
Public methodStatic memberGetRegisteredActivatedServiceTypesRetrieves an array of object types registered on the service end that can be activated on request from a client.
Public methodStatic memberGetRegisteredWellKnownClientTypesRetrieves an array of object types registered on the client end as well-known types.
Public methodStatic memberGetRegisteredWellKnownServiceTypesRetrieves an array of object types registered on the service end as well-known types.
Public methodStatic memberIsActivationAllowedReturns a Boolean value that indicates whether the specified Type is allowed to be client activated.
Public methodStatic memberIsRemotelyActivatedClientType(Type)Checks whether the specified object Type is registered as a remotely activated client type.
Public methodStatic memberIsRemotelyActivatedClientType(String, String)Checks whether the object specified by its type name and assembly name is registered as a remotely activated client type.
Public methodStatic memberIsWellKnownClientType(Type)Checks whether the specified object Type is registered as a well-known client type.
Public methodStatic memberIsWellKnownClientType(String, String)Checks whether the object specified by its type name and assembly name is registered as a well-known client type.
Public methodStatic memberRegisterActivatedClientType(ActivatedClientTypeEntry)Registers an object Type recorded in the provided ActivatedClientTypeEntry on the client end as a type that can be activated on the server.
Public methodStatic memberRegisterActivatedClientType(Type, String)Registers an object Type on the client end as a type that can be activated on the server, using the given parameters to initialize a new instance of the ActivatedClientTypeEntry class.
Public methodStatic memberRegisterActivatedServiceType(ActivatedServiceTypeEntry)Registers an object type recorded in the provided ActivatedServiceTypeEntry on the service end as one that can be activated on request from a client.
Public methodStatic memberRegisterActivatedServiceType(Type)Registers a specified object type on the service end as a type that can be activated on request from a client.
Public methodStatic memberRegisterWellKnownClientType(WellKnownClientTypeEntry)Registers an object Type recorded in the provided WellKnownClientTypeEntry on the client end as a well-known type that can be activated on the server.
Public methodStatic memberRegisterWellKnownClientType(Type, String)Registers an object Type on the client end as a well-known type that can be activated on the server, using the given parameters to initialize a new instance of the WellKnownClientTypeEntry class.
Public methodStatic memberRegisterWellKnownServiceType(WellKnownServiceTypeEntry)Registers an object Type recorded in the provided WellKnownServiceTypeEntry on the service end as a well-known type.
Public methodStatic memberRegisterWellKnownServiceType(Type, String, WellKnownObjectMode)Registers an object Type on the service end as a well-known type, using the given parameters to initialize a new instance of WellKnownServiceTypeEntry.
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft