This documentation is archived and is not being maintained.

PeerObject.SynchronizingObject Property

Gets or sets the object used to marshal the event handler calls that are issued as a result of a PeerObject instance change.

Namespace:  System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

[BrowsableAttribute(false)]
public ISynchronizeInvoke SynchronizingObject { get; set; }

Property Value

Type: System.ComponentModel.ISynchronizeInvoke
Object with an implementation of the ISynchronizeInvoke interface. This object is used for event handler synchronization.

ExceptionCondition
ObjectDisposedException

The calling object has been disposed.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: