RemotingConfiguration RemotingConfiguration RemotingConfiguration RemotingConfiguration Class

Definition

Provides various static methods for configuring the remoting infrastructure.

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

Properties

ApplicationId ApplicationId ApplicationId ApplicationId

Gets the ID of the currently executing application.

ApplicationName ApplicationName ApplicationName ApplicationName

Gets or sets the name of a remoting application.

CustomErrorsMode CustomErrorsMode CustomErrorsMode CustomErrorsMode

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

ProcessId ProcessId ProcessId ProcessId

Gets the ID of the currently executing process.

Methods

Configure(String) Configure(String) Configure(String) Configure(String)

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

Configure(String, Boolean) Configure(String, Boolean) Configure(String, Boolean) Configure(String, Boolean)

Reads the configuration file and configures the remoting infrastructure.

CustomErrorsEnabled(Boolean) CustomErrorsEnabled(Boolean) CustomErrorsEnabled(Boolean) CustomErrorsEnabled(Boolean)

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

GetRegisteredActivatedClientTypes() GetRegisteredActivatedClientTypes() GetRegisteredActivatedClientTypes() GetRegisteredActivatedClientTypes()

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

GetRegisteredActivatedServiceTypes() GetRegisteredActivatedServiceTypes() GetRegisteredActivatedServiceTypes() GetRegisteredActivatedServiceTypes()

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

GetRegisteredWellKnownClientTypes() GetRegisteredWellKnownClientTypes() GetRegisteredWellKnownClientTypes() GetRegisteredWellKnownClientTypes()

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

GetRegisteredWellKnownServiceTypes() GetRegisteredWellKnownServiceTypes() GetRegisteredWellKnownServiceTypes() GetRegisteredWellKnownServiceTypes()

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

IsActivationAllowed(Type) IsActivationAllowed(Type) IsActivationAllowed(Type) IsActivationAllowed(Type)

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

IsRemotelyActivatedClientType(String, String) IsRemotelyActivatedClientType(String, String) IsRemotelyActivatedClientType(String, String) 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) IsRemotelyActivatedClientType(Type) IsRemotelyActivatedClientType(Type) IsRemotelyActivatedClientType(Type)

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

IsWellKnownClientType(Type) IsWellKnownClientType(Type) IsWellKnownClientType(Type) IsWellKnownClientType(Type)

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

IsWellKnownClientType(String, String) IsWellKnownClientType(String, String) IsWellKnownClientType(String, String) IsWellKnownClientType(String, String)

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

RegisterActivatedClientType(ActivatedClientTypeEntry) RegisterActivatedClientType(ActivatedClientTypeEntry) RegisterActivatedClientType(ActivatedClientTypeEntry) 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) RegisterActivatedClientType(Type, String) RegisterActivatedClientType(Type, String) 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) RegisterActivatedServiceType(ActivatedServiceTypeEntry) RegisterActivatedServiceType(ActivatedServiceTypeEntry) 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) RegisterActivatedServiceType(Type) RegisterActivatedServiceType(Type) RegisterActivatedServiceType(Type)

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

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

RegisterWellKnownClientType(Type, String) RegisterWellKnownClientType(Type, String) RegisterWellKnownClientType(Type, String) 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.

RegisterWellKnownServiceType(WellKnownServiceTypeEntry) RegisterWellKnownServiceType(WellKnownServiceTypeEntry) RegisterWellKnownServiceType(WellKnownServiceTypeEntry) RegisterWellKnownServiceType(WellKnownServiceTypeEntry)

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

RegisterWellKnownServiceType(Type, String, WellKnownObjectMode) RegisterWellKnownServiceType(Type, String, WellKnownObjectMode) RegisterWellKnownServiceType(Type, String, WellKnownObjectMode) 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.

Applies to