public static void SetL2CapPsmNumber(
ServiceRecord record,
int psm
)
Public Shared Sub SetL2CapPsmNumber (
record As ServiceRecord,
psm As Integer
)
public:
static void SetL2CapPsmNumber(
ServiceRecord^ record,
int psm
)
static member SetL2CapPsmNumber :
record : ServiceRecord *
psm : int -> unit
Note: We use an Int32 for the psm parameter as its natural type UInt16 in not usable in CLS Compliant interfaces.
InvalidOperationException | The ProtocolDescriptorList attribute is missing or contains invalid elements. |
ArgumentOutOfRangeException | The PSM must fit in a 16-bit unsigned integer. |