Share via


WiFiDirectServiceAdvertiser.CustomServiceStatusCode Property

Definition

Gets or sets a custom service status code. Only valid if the ServiceStatus property value is Custom.

public:
 property unsigned int CustomServiceStatusCode { unsigned int get(); void set(unsigned int value); };
uint32_t CustomServiceStatusCode();

void CustomServiceStatusCode(uint32_t value);
public uint CustomServiceStatusCode { get; set; }
var uInt32 = wiFiDirectServiceAdvertiser.customServiceStatusCode;
wiFiDirectServiceAdvertiser.customServiceStatusCode = uInt32;
Public Property CustomServiceStatusCode As UInteger

Property Value

UInt32

unsigned int

uint32_t

If ServiceStatus is set to Custom, this property is the custom status value. Custom values must be in the range 2 - 255.

Applies to