Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RfcommConnectionTrigger class

Applies to Windows Phone only

Represents a trigger that launches a background task when an RFCOMM inbound or outbound connections are established.

Syntax


var rfcommConnectionTrigger = new Windows.ApplicationModel.Background.RfcommConnectionTrigger();

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The RfcommConnectionTrigger class has these types of members:

Constructors

The RfcommConnectionTrigger class has these constructors.

ConstructorDescription
RfcommConnectionTrigger Initializes a new instance of the RfcommConnectionTrigger class.

 

Properties

The RfcommConnectionTrigger class has these properties.

PropertyAccess typeDescription

AllowMultipleConnections

Read/writeGets or sets whether the app wants to handle multiple connections at a time.

InboundConnection

Read/writeGets or sets the RfcommInboundConnectionInformation object that describes how the system

OutboundConnection

Read/writeGets or sets the RfcommOutboundConnectionInformation object that describes how the system will create outgoing connections on behalf of the app.

ProtectionLevel

Read/writeGets or sets the minimum protection level required for connections that are created or accepted on behalf of the app.

RemoteHostName

Read/writeGets or sets specific remote Bluetooth device the system will connect to, or accept connections from, on behalf of the app.

 

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

See also

Object
IBackgroundTrigger

 

 

Show:
© 2014 Microsoft