InviteCompletedEventArgs 類別

定義

發生 InviteCompleted 事件時,提供限定資訊給回呼方法。

public ref class InviteCompletedEventArgs : System::ComponentModel::AsyncCompletedEventArgs
public class InviteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
type InviteCompletedEventArgs = class
    inherit AsyncCompletedEventArgs
Public Class InviteCompletedEventArgs
Inherits AsyncCompletedEventArgs
繼承
InviteCompletedEventArgs

備註

InviteCompleted 遠端對等回應邀請以與對等主機或主應用程式共同作業時,就會引發事件。 無論受邀的對等是否想要共同作業,這都會在邀請完成時發生。 用來管理對等邀請的方法位於 PeerContactPeerNearMe 子類別和 Peer 抽象類中。 回呼方法、委派和型別安全函式指標是委派方法的同義字。

屬性

Cancelled

取得值,指出非同步作業是否已取消。

(繼承來源 AsyncCompletedEventArgs)
Error

取得值,指出非同步作業期間是否發生錯誤。

(繼承來源 AsyncCompletedEventArgs)
InviteResponse

取得邀請作業的 PeerInvitationResponse

UserState

取得非同步工作的唯一識別項。

(繼承來源 AsyncCompletedEventArgs)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
RaiseExceptionIfNecessary()

如果非同步作業失敗,引發使用者提供的例外狀況。

(繼承來源 AsyncCompletedEventArgs)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱