> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lobby.PostUpdate

> Lobby.PostUpdate

## Method (1 of 6)

Post an update to the lobby.

```csharp theme={null}
public void PostUpdate(PFEntityKey localUser, IDictionary<string, string> memberProperties)
```

| parameter        | description                                              |
| ---------------- | -------------------------------------------------------- |
| localUser        | The local user posting the update.                       |
| memberProperties | The member properties to update for the updating member. |

## Remarks (1 of 6)

This is an asynchronous operation. Upon successful completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to [`Success`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyError/Success). Upon a failed completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to a failed error code. If applying the update would change the state of the lobby, the title is provided a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) sometime afterwards.

This operation completing successfully only indicates that the Lobby service has accepted the update. The title's local view of the Lobby state won't reflect this update until a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) is provided to the title with the updated state.

***

## Method (2 of 6)

Post an update to the lobby.

```csharp theme={null}
public void PostUpdate(PFEntityKey localUser, LobbyDataUpdate lobbyUpdate)
```

| parameter   | description                                                                              |
| ----------- | ---------------------------------------------------------------------------------------- |
| localUser   | The local user posting the update.                                                       |
| lobbyUpdate | An optional update to apply to the shared portion of the lobby on behalf of *localUser*. |

## Remarks (2 of 6)

This is an asynchronous operation. Upon successful completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to [`Success`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyError/Success). Upon a failed completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to a failed error code. If applying the update would change the state of the lobby, the title is provided a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) sometime afterwards.

This operation completing successfully only indicates that the Lobby service has accepted the update. The title's local view of the Lobby state won't reflect this update until a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) is provided to the title with the updated state.

The *lobbyUpdate* contains fields that can only be modified by the owner of the lobby. This method fails and [`OnError`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnError) is called if one of those fields is specified and *localUser* is not the owner of the lobby.

***

## Method (3 of 6)

Post an update to the lobby.

```csharp theme={null}
public void PostUpdate(PlayFabAuthenticationContext localUser, 
    IDictionary<string, string> memberProperties)
```

| parameter        | description                                              |
| ---------------- | -------------------------------------------------------- |
| localUser        | The local user posting the update.                       |
| memberProperties | The member properties to update for the updating member. |

## Remarks (3 of 6)

This is an asynchronous operation. Upon successful completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to [`Success`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyError/Success). Upon a failed completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to a failed error code. If applying the update would change the state of the lobby, the title is provided a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) sometime afterwards.

This operation completing successfully only indicates that the Lobby service has accepted the update. The title's local view of the Lobby state won't reflect this update until a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) is provided to the title with the updated state.

***

## Method (4 of 6)

Post an update to the lobby.

```csharp theme={null}
public void PostUpdate(PlayFabAuthenticationContext localUser, LobbyDataUpdate lobbyUpdate)
```

| parameter   | description                                                                              |
| ----------- | ---------------------------------------------------------------------------------------- |
| localUser   | The local user posting the update.                                                       |
| lobbyUpdate | An optional update to apply to the shared portion of the lobby on behalf of *localUser*. |

## Remarks (4 of 6)

This is an asynchronous operation. Upon successful completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to [`Success`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyError/Success). Upon a failed completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to a failed error code. If applying the update would change the state of the lobby, the title is provided a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) sometime afterwards.

This operation completing successfully only indicates that the Lobby service has accepted the update. The title's local view of the Lobby state won't reflect this update until a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) is provided to the title with the updated state.

The *lobbyUpdate* contains fields that can only be modified by the owner of the lobby. This method fails and [`OnError`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnError) is called if one of those fields is specified and *localUser* is not the owner of the lobby.

***

## Method (5 of 6)

Post an update to the lobby.

```csharp theme={null}
public void PostUpdate(PFEntityKey localUser, LobbyDataUpdate lobbyUpdate, 
    IDictionary<string, string> memberProperties)
```

| parameter        | description                                                                     |
| ---------------- | ------------------------------------------------------------------------------- |
| localUser        | The local user posting the update.                                              |
| lobbyUpdate      | An update to apply to the shared portion of the lobby on behalf of *localUser*. |
| memberProperties | The member properties to update for the updating member.                        |

## Remarks (5 of 6)

This is an asynchronous operation. Upon successful completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to [`Success`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyError/Success). Upon a failed completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to a failed error code. If applying the update would change the state of the lobby, the title is provided a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) sometime afterwards.

This operation completing successfully only indicates that the Lobby service has accepted the update. The title's local view of the Lobby state won't reflect this update until a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) is provided to the title with the updated state.

The *lobbyUpdate* contains fields that can only be modified by the owner of the lobby. This method fails and [`OnError`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnError) is called if one of those fields is specified and *localUser* is not the owner of the lobby.

***

## Method (6 of 6)

Post an update to the lobby.

```csharp theme={null}
public void PostUpdate(PlayFabAuthenticationContext localUser, LobbyDataUpdate lobbyUpdate, 
    IDictionary<string, string> memberProperties)
```

| parameter        | description                                                                     |
| ---------------- | ------------------------------------------------------------------------------- |
| localUser        | The local user posting the update.                                              |
| lobbyUpdate      | An update to apply to the shared portion of the lobby on behalf of *localUser*. |
| memberProperties | The member properties to update for the updating member.                        |

## Remarks (6 of 6)

This is an asynchronous operation. Upon successful completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to [`Success`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyError/Success). Upon a failed completion, the title is provided a [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) with the `OnLobbyPostUpdateCompleted result` field set to a failed error code. If applying the update would change the state of the lobby, the title is provided a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) sometime afterwards.

This operation completing successfully only indicates that the Lobby service has accepted the update. The title's local view of the Lobby state won't reflect this update until a [`OnLobbyUpdated`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyUpdated) is provided to the title with the updated state.

The *lobbyUpdate* contains fields that can only be modified by the owner of the lobby. This method fails and [`OnError`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnError) is called if one of those fields is specified and *localUser* is not the owner of the lobby.

## See Also

* class [PFEntityKey](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PFEntityKey/overview)
* class [LobbyDataUpdate](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyDataUpdate/overview)
* class [Lobby](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/overview)
* namespace [PlayFab.Multiplayer](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference)


## Related topics

- [Lobby.PostUpdateAsServer](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/PostUpdateAsServer.md)
- [PlayFabMultiplayer.OnLobbyPostUpdateCompleted](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted.md)
- [PFLobbyPostUpdate](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbypostupdate.md)
- [Lobby.ServerPostUpdate](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/ServerPostUpdate.md)
- [PFLobbyServerPostUpdate](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyserverpostupdate.md)
