This documentation is archived and is not being maintained.

IrDAEndPoint.ServiceName Property

Gets or sets the name of the service.

Namespace:  System.Net
Assembly:  System.Net.IrDA (in System.Net.IrDA.dll)

public string ServiceName { get; set; }

Property Value

Type: System.String
The name of the service, such as ChatService.

ExceptionCondition
ArgumentNullException

You attempt to set the service name to null.

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

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 Compact Framework

Supported in: 3.5, 2.0, 1.0
Show: