System.Runtime.Remoting.RemotingServices.IsObjectOutOfAppDomain Method

Returns a Boolean value that indicates whether the object specified by the given transparent proxy is contained in a different application domain than the object that called the current method.

Syntax

public static bool IsObjectOutOfAppDomain (object tp)

Parameters

tp
The object to check.

Returns

true if the object is out of the current application domain; otherwise, false.

Remarks

For information about application domains, see Application Domains.

Requirements

Namespace: System.Runtime.Remoting
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0