다음을 통해 공유


ITrackingHandler.UnmarshaledObject(Object, ObjRef) 메서드

정의

역마샬링된 개체의 현재 인스턴스를 알려 줍니다.

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)

매개 변수

obj
Object

역마샬링된 개체입니다.

or
ObjRef

지정된 개체를 나타내는 ObjRef입니다.

특성

예제

다음 코드 예제에서는이 메서드를 구현 하는 방법을 보여 줍니다. 이 코드 예제는 제공 된 큰 예제의 일부는 ITrackingHandler 인터페이스입니다.

// 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());
}

적용 대상