Class NoneAssignment
Assignment type used when the final type is not yet determined (e.g., CloudCode hosting before allocation completes) or for allocation errors. Contains only status information - no connection data.
Inheritance
Namespace: Unity.Services.Matchmaker.Models
Assembly: solution.dll
Syntax
public class NoneAssignment
Constructors
NoneAssignment(string, string, StatusOptions)
Assignment type used when the final type is not yet determined (e.g., CloudCode hosting before allocation completes) or for allocation errors. Contains only status information - no connection data.
Declaration
public NoneAssignment(string assignmentType, string message = null, NoneAssignment.StatusOptions status = (NoneAssignment.StatusOptions)0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | assignmentType | assignmentType param |
| string | message | Error details when status is 'Failed'. Common values include 'Allocation error: <details>' or 'AllocationError'. |
| NoneAssignment.StatusOptions | status | The status of the assignment is one of Timeout, Failed, InProgress, Found |
Properties
AssignmentType
Parameter assignmentType of NoneAssignment
Declaration
public string AssignmentType { get; }
Property Value
| Type | Description |
|---|---|
| string |
Message
Error details when status is 'Failed'. Common values include 'Allocation error: <details>' or 'AllocationError'.
Declaration
public string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
Status
The status of the assignment is one of Timeout, Failed, InProgress, Found
Declaration
public NoneAssignment.StatusOptions Status { get; }
Property Value
| Type | Description |
|---|---|
| NoneAssignment.StatusOptions |