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
파일 보기 프로젝트 열기: prabirshrestha/opengraph.net

공개 메소드들

메소드 설명
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