MultiplayerSession.SetArbitrationTimeouts(TimeSpan, TimeSpan) Method
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.
Sets the arbitration timeouts for the session.
public void SetArbitrationTimeouts (Windows.Foundation.TimeSpan arbitrationTimeout, Windows.Foundation.TimeSpan forfeitTimeout);
abstract member SetArbitrationTimeouts : Windows.Foundation.TimeSpan * Windows.Foundation.TimeSpan -> unit
override this.SetArbitrationTimeouts : Windows.Foundation.TimeSpan * Windows.Foundation.TimeSpan -> unit
Public Sub SetArbitrationTimeouts (arbitrationTimeout As TimeSpan, forfeitTimeout As TimeSpan)
Parameters
- arbitrationTimeout
- Windows.Foundation.TimeSpan
The timeout for arbitration, in milliseconds representing the point at which results are finalized.
- forfeitTimeout
- Windows.Foundation.TimeSpan
The timeout for forfeit, in milliseconds representing the point at which, if the session has no active users, the match is canceled.
Implements
Remarks
This can only be set when creating a new session. After calling this method, the caller must use MultiplayerService.WriteSessionAsync to write batched local changes to the service.