PushNotificationSubscriber 建構函式
初始化PushNotificationSubscriber物件的新執行個體。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public Sub New ( _
context As ClientRuntimeContext, _
objectPath As ObjectPath _
)
'用途
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath
Dim instance As New PushNotificationSubscriber(context, _
objectPath)
public PushNotificationSubscriber(
ClientRuntimeContext context,
ObjectPath objectPath
)
參數
context
類型:Microsoft.SharePoint.Client.ClientRuntimeContext透過協調哪些要求和動作ClientRuntimeContext物件被發起的租用戶的網站集合內。
objectPath
類型:Microsoft.SharePoint.Client.ObjectPath追蹤在ClientRuntimeContext類別中,建立用戶端物件的方式讓物件可在伺服器上重新建立。此類別和其成員是保留給內部使用,而不是用來在您的程式碼中使用。