C# Класс Facebook.OpenGraph.Web.SubscriptionHandler

Provides a base implementation for real-time update handlers for Web Forms.

To utilize this class, simply create a Generic Handler (*.ashx) file in your web application at the desired location and have it inherit from this class instead of IHttpHandler. Have it override the ApplicationName property and any of the entity-updated events such as OnUserUpdated.

Наследование: IHttpHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
ProcessRequest ( HttpContext context ) : void

Защищенные методы

Метод Описание
OnErrorsReported ( string applicationName ) : void

Not yet supported.

OnPermissionsUpdated ( string applicationName, string userID, ExtendedPermissions permissions ) : void

Not yet supported.

OnUserUpdated ( string applicationName, string userID, string updatedProperties ) : void

Called when a User object is updated.

Приватные методы

Метод Описание
HandleContent ( HttpContext context, string content ) : void
HandleSubscriptionVerification ( HttpContext context, string challenge, string verifyToken ) : void

Описание методов

OnErrorsReported() защищенный Метод

Not yet supported.
protected OnErrorsReported ( string applicationName ) : void
applicationName string
Результат void

OnPermissionsUpdated() защищенный Метод

Not yet supported.
protected OnPermissionsUpdated ( string applicationName, string userID, ExtendedPermissions permissions ) : void
applicationName string
userID string
permissions ExtendedPermissions
Результат void

OnUserUpdated() защищенный Метод

Called when a User object is updated.
protected OnUserUpdated ( string applicationName, string userID, string updatedProperties ) : void
applicationName string The name of the application, determined by the routing properties.
userID string The ID of the user who was updated.
updatedProperties string A list of properties that were updated for the user.
Результат void

ProcessRequest() публичный Метод

public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
Результат void