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
| Name | Type | Description |
|---|---|---|
appTag | string |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | appTag is null. |
| ArgumentException | appTag 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
| Exception | Condition |
|---|---|
| ArgumentNullException | The value is null. |
| ArgumentException | The 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
| Name | Type | Description |
|---|---|---|
extension | Structure |
Returns: RequestOnboardingInviteOptions