System.Runtime.Remoting.Services.ITrackingHandler Interface

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Services
Summary
Indicates that the implementing object must be notified of marshaling, unmarshaling, and disconnection of objects and proxies by the remoting infrastructure.
C# Syntax:
public interface ITrackingHandler
Remarks
Every object registered with TrackingServices is called by remoting when an object or proxy in the current AppDomain is marshaled, unmarshaled, or disconnected.

Note Only objects can be disconnected. An exception is thrown when disconnect is called on a proxy.
See also:
System.Runtime.Remoting.Services Namespace

System.Runtime.Remoting.Services.ITrackingHandler Member List:

Public Methods
DisconnectedObject Notifies the current instance that an object has been disconnected from its proxy.
MarshaledObject Notifies the current instance that an object has been marshaled.
UnmarshaledObject Notifies the current instance that an object has been unmarshaled.

System.Runtime.Remoting.Services.ITrackingHandler Member Details

Method: DisconnectedObject(
   object obj
)
Summary
Notifies the current instance that an object has been disconnected from its proxy.
C# Syntax:
void DisconnectedObject(
   object obj
);
Parameters:

obj

The disconnected object.

Return to top


Method: MarshaledObject(
   object obj,
   ObjRef or
)
Summary
Notifies the current instance that an object has been marshaled.
C# Syntax:
void MarshaledObject(
   object obj,
   ObjRef or
);
Parameters:

obj

The object that has been marshaled.

or

The ObjRef that results from marshaling and represents the specified object.

Return to top


Method: UnmarshaledObject(
   object obj,
   ObjRef or
)
Summary
Notifies the current instance that an object has been unmarshaled.
C# Syntax:
void UnmarshaledObject(
   object obj,
   ObjRef or
);
Parameters:

obj

The unmarshaled object.

or

The ObjRef that represents the specified object.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.