Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CommandLineArgs Property

PeerApplication.CommandLineArgs Property

Gets or sets command-line parameters to use when initiating a PeerApplication.

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

public string CommandLineArgs { get; set; }

Property Value

Type: System.String
String that represents application-specific command-line parameters to use when initiating the PeerApplication.

ExceptionCondition
ObjectDisposedException

The PeerApplication object has been disposed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft