ITrackingHandler.DisconnectedObject(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies the current instance that an object has been disconnected from its proxy.
public:
void DisconnectedObject(System::Object ^ obj);
public void DisconnectedObject (object obj);
[System.Security.SecurityCritical]
public void DisconnectedObject (object obj);
abstract member DisconnectedObject : obj -> unit
[<System.Security.SecurityCritical>]
abstract member DisconnectedObject : obj -> unit
Public Sub DisconnectedObject (obj As Object)
Parameters
- obj
- Object
The disconnected 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 disconnected.
public void DisconnectedObject(Object obj)
{
Console.WriteLine("Tracking: An instance of {0} was disconnected.",
obj.ToString());
}
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.