MultiplayerSessionReference Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a reference to a multiplayer session.
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Xbox.Services.Multiplayer.__IMultiplayerSessionReferenceFactory), 1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.Xbox.Services.Multiplayer.__IMultiplayerSessionReferenceStatics), 1)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class MultiplayerSessionReference
type MultiplayerSessionReference = class
interface __IMultiplayerSessionReferencePublicNonVirtuals
Public NotInheritable Class MultiplayerSessionReference
- Inheritance
-
MultiplayerSessionReference
- Attributes
-
Windows.Foundation.Metadata.ActivatableAttribute Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.StaticAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute
Examples
The following example shows the format of the JSON object that represents this class:
"sessionRef": {
"scid": "foo",
"templateName" : "bar",
"name" : "session-seven"
}
Constructors
MultiplayerSessionReference(String, String, String) |
Constructs the MultiplayerSession object with data about the session. |
Properties
ServiceConfigurationId |
The service configuration ID specific to the title. |
SessionName |
The unique name of the session. |
SessionTemplateName |
The name of the template for the session. |
Methods
ParseFromUriPath(String) |
Returns the session reference parsed from the specified URI. |
ToUriPath() |
Returns a URI path representation of the session reference. |