Edit

Share via


ITrackingHandler.UnmarshaledObject(Object, ObjRef) Method

Definition

Notifies the current instance that an object has been unmarshaled.

public:
 void UnmarshaledObject(System::Object ^ obj, System::Runtime::Remoting::ObjRef ^ or);
public void UnmarshaledObject (object obj, System.Runtime.Remoting.ObjRef or);
[System.Security.SecurityCritical]
public void UnmarshaledObject (object obj, System.Runtime.Remoting.ObjRef or);
abstract member UnmarshaledObject : obj * System.Runtime.Remoting.ObjRef -> unit
[<System.Security.SecurityCritical>]
abstract member UnmarshaledObject : obj * System.Runtime.Remoting.ObjRef -> unit
Public Sub UnmarshaledObject (obj As Object, or As ObjRef)

Parameters

obj
Object

The unmarshaled object.

or
ObjRef

The ObjRef that represents the specified object.

Attributes

Examples

The following code example shows how to implement this method. This code example is part of a larger example that is provided for the ITrackingHandler interface.

// Called when the tracked object is unmarshaled.
public void UnmarshaledObject(Object obj, ObjRef objRef)
{
    Console.WriteLine("Tracking: An instance of {0} was unmarshaled.", 
        obj.ToString());
}

Applies to