PeerNameRegistration.Update 方法

定義

針對已使用特定 Cloud 註冊的節點,更新 PeerNameRegistration。 更新是使用屬性中指定的資訊來執行。

public:
 void Update();
[System.Security.SecurityCritical]
public void Update ();
[<System.Security.SecurityCritical>]
member this.Update : unit -> unit
Public Sub Update ()
屬性

例外狀況

PeerName 屬性會設定為 null

  • 尚未註冊 PeerName 屬性。 在 PeerName 屬性中的對等名稱已於一或多個雲端註冊之前,無法呼叫 Update() 方法。

  • PeerName 屬性中指定的對等名稱,自從對應的 PeerNameRecord 註冊後曾經變更。

無法註冊已處置的物件。

PeerNameRecord 屬性設定為 null

備註

在完全捨棄呼叫之前,在雲端 (註冊的所有資訊) PeerName 。 新的數據不會與現有的註冊結合。 若要更新 PeerNameRegistration,請先更新這個實例上的屬性,然後呼叫此方法。

PeerNameRecord註冊之後,PeerName就無法更新 屬性。 記錄中的所有其他欄位都可以更新。

適用於