Class CallbackMethodAttribute

Marker Attribute to be used on Callback methods. Signals parser that the method is allowed to be executed remotely

System.Object
  System.Attribute
    Westwind.Web.CallbackMethodAttribute
public class CallbackMethodAttribute : Attribute

Class Members

MemberDescription

Constructor

Default Constructor for CallbackMethodAttribute. No functionality added

AllowedHttpVerbs

Allows specifying of the HTTP Verb that is accepted for the called method.

ContentType

Content Type used for results that are returned as Stream or raw string values. Same as setting Response.ContentType but more clear in the attribute

ReturnAsRawString

When set to true indicates that a string result returned to the client should not be encoded in anw way. This can be more efficient for large string results passed back to the client when returning HTML or other plain text and avoids extra encoding and decoding.

RouteUrl

Allows specification of an ASP.NET style route URL to a Service Method.

Requirements

Namespace: Westwind.Web
Assembly: westwind.web.dll

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic