Skip to main content
Version: Dev (main)

RequestOnboardingInviteOptions class

Arguments of Session.RequestOnboardingInvite (C QarRequestInviteInit): a co-process invite for one app tag.

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll

public sealed class RequestOnboardingInviteOptions

Constructors​

RequestOnboardingInviteOptions(string)​

Creates the options for the co-process tagged appTag.

public RequestOnboardingInviteOptions(string appTag)

Parameters

NameTypeDescription
appTagstring

Exceptions

ExceptionCondition
ArgumentNullExceptionappTag is null.
ArgumentExceptionappTag breaks the rules of RequestOnboardingInviteOptions.AppTag.

Properties​

AppTag​

Required: the app tag of the co-process the invite is for. The hub binds the invite to the peer id it remembers for this session's approval and this tag, so the co-process joins as the same peer on every start while no other live process holds that id.

public string AppTag { get; set; }

Value: string

Exceptions

ExceptionCondition
ArgumentNullExceptionThe value is null.
ArgumentExceptionThe value breaks the rules above (checked as a courtesy; the runtime checks too).

Remarks

Same rules as OnboardLocalApp.Tag: non-empty printable ASCII, no space at either end, at most 256 bytes, compared exactly; an identity key like an app volume's common name, for example companion.terraexplorer.skyline.

Methods​

WithExtension​

Chains an extension structure onto the request.

public RequestOnboardingInviteOptions WithExtension(Structure extension)

Parameters

NameTypeDescription
extensionStructure

Returns: RequestOnboardingInviteOptions