Sdílet prostřednictvím


NetworkSessionProperties Members

The following tables list the members exposed by the NetworkSessionProperties type.

Public Constructors

Name Description
Public Method NetworkSessionProperties Creates an empty instance of NetworkSessionProperties.

Public Properties

Name Description
Public Property Count Gets the number of custom session properties.
Public Property Item Gets or sets a custom session property value at the specified index

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetEnumerator Gets an enumerator for iterating over the custom property values.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

Explicit Interface Implementations

Name Description
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection<System.Nullable<System.Int32>>.IsReadOnly Gets a value indicating whether the collection is read-only.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection<System.Nullable<System.Int32>>.Add The System.Collections.Generic.ICollection<System.Nullable<System.Int32>>.Add interface method is not supported by NetworkSessionProperties.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection<System.Nullable<System.Int32>>.Clear The System.Collections.Generic.ICollection<System.Nullable<System.Int32>>.Clear interface method is not supported by NetworkSessionProperties.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection<System.Nullable<System.Int32>>.Contains Checks whether the collection contains the specified value.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection<System.Nullable<System.Int32>>.CopyTo Copies the contents of the collection to an array.
Explicit Interface ImplementationMethod System.Collections.IEnumerable.GetEnumerator Gets an enumerator for iterating over the custom property values.
Explicit Interface ImplementationMethod System.Collections.Generic.IList<System.Nullable<System.Int32>>.IndexOf Gets the index of the specified value.
Explicit Interface ImplementationMethod System.Collections.Generic.IList<System.Nullable<System.Int32>>.Insert The System.Collections.Generic.IList<System.Nullable<System.Int32>>.Insert interface method is not supported by NetworkSessionProperties.
Explicit Interface ImplementationMethod System.Collections.Generic.IList<System.Nullable<System.Int32>>.RemoveAt The System.Collections.Generic.IList<System.Nullable<System.Int32>>.RemoveAt interface method is not supported by NetworkSessionProperties.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection<System.Nullable<System.Int32>>.Remove The System.Collections.Generic.ICollection<System.Nullable<System.Int32>>.Remove interface method is not supported by NetworkSessionProperties.

See Also

Tasks

How To: Find and Join a Network Session

Reference

NetworkSessionProperties Class
Microsoft.Xna.Framework.Net Namespace