Delen via


RfcommOutboundConnectionInformation.RemoteServiceId Property

Definition

Gets or sets the service UUID of the remote service to which the system will connect on behalf of the app.

public:
 property RfcommServiceId ^ RemoteServiceId { RfcommServiceId ^ get(); void set(RfcommServiceId ^ value); };
RfcommServiceId RemoteServiceId();

void RemoteServiceId(RfcommServiceId value);
public RfcommServiceId RemoteServiceId { get; set; }
var rfcommServiceId = rfcommOutboundConnectionInformation.remoteServiceId;
rfcommOutboundConnectionInformation.remoteServiceId = rfcommServiceId;
Public Property RemoteServiceId As RfcommServiceId

Property Value

The service UUID of the remote service to which the system will connect on behalf of the app. This value must be set. When the system creates outgoing connections for the app, it will connect to any remote service that lists the specified UUID in its ServiceClassIDList.

Windows requirements

App capabilities
bluetooth

Applies to