ITrackingHandler.UnmarshaledObject(Object, ObjRef) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Notifica a instância atual que um objeto foi desorganizado do marshale.
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)
Parâmetros
- obj
- Object
O objeto não organizado.
- Atributos
Exemplos
O seguinte exemplo de código mostra como implementar este método. Este exemplo de código faz parte de um exemplo maior fornecido para a 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());
}