RemotingConfiguration Class

Definition

Provides various static methods for configuring the remoting infrastructure.

public ref class RemotingConfiguration
public ref class RemotingConfiguration abstract sealed
public class RemotingConfiguration
[System.Runtime.InteropServices.ComVisible(true)]
public static class RemotingConfiguration
type RemotingConfiguration = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type RemotingConfiguration = class
Public Class RemotingConfiguration
Inheritance
RemotingConfiguration
Attributes

Properties

ApplicationId

Gets the ID of the currently executing application.

ApplicationName

Gets or sets the name of a remoting application.

CustomErrorsMode

Gets or sets value that indicates how custom errors are handled.

ProcessId

Gets the ID of the currently executing process.

Methods

Configure(String)
Obsolete.

Reads the configuration file and configures the remoting infrastructure. Configure(String) is obsolete. Please use Configure(String, Boolean) instead.

Configure(String, Boolean)

Reads the configuration file and configures the remoting infrastructure.

CustomErrorsEnabled(Boolean)

Indicates whether the server channels in this application domain return filtered or complete exception information to local or remote callers.

GetRegisteredActivatedClientTypes()

Retrieves an array of object types registered on the client as types that will be activated remotely.

GetRegisteredActivatedServiceTypes()

Retrieves an array of object types registered on the service end that can be activated on request from a client.

GetRegisteredWellKnownClientTypes()

Retrieves an array of object types registered on the client end as well-known types.

GetRegisteredWellKnownServiceTypes()

Retrieves an array of object types registered on the service end as well-known types.

IsActivationAllowed(Type)

Returns a Boolean value that indicates whether the specified Type is allowed to be client activated.

IsRemotelyActivatedClientType(String, String)

Checks whether the object specified by its type name and assembly name is registered as a remotely activated client type.

IsRemotelyActivatedClientType(Type)

Checks whether the specified object Type is registered as a remotely activated client type.

IsWellKnownClientType(String, String)

Checks whether the object specified by its type name and assembly name is registered as a well-known client type.

IsWellKnownClientType(Type)

Checks whether the specified object Type is registered as a well-known client type.

RegisterActivatedClientType(ActivatedClientTypeEntry)

Registers an object Type recorded in the provided ActivatedClientTypeEntry on the client end as a type that can be activated on the server.

RegisterActivatedClientType(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.

RegisterActivatedServiceType(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.

RegisterActivatedServiceType(Type)

Registers a specified object type on the service end as a type that can be activated on request from a client.

RegisterWellKnownClientType(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.

RegisterWellKnownClientType(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.

RegisterWellKnownServiceType(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.

RegisterWellKnownServiceType(WellKnownServiceTypeEntry)

Registers an object Type recorded in the provided WellKnownServiceTypeEntry on the service end as a well-known type.

Applies to