JavascriptCallbackResponseMessageProperty Class

.NET Framework (current version)
 

Enables the use of a JavaScript callback in a service operation response using JSON Padding (JSONP).

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

System.Object
  System.ServiceModel.Channels.JavascriptCallbackResponseMessageProperty

public sealed class JavascriptCallbackResponseMessageProperty

NameDescription
System_CAPS_pubmethodJavascriptCallbackResponseMessageProperty()

Initializes a new instance of the JavascriptCallbackResponseMessageProperty class.

NameDescription
System_CAPS_pubpropertyCallbackFunctionName

Gets or sets the name of the callback function used with JSONP.

System_CAPS_pubpropertySystem_CAPS_staticName

Gets the message property name used to add a JavaScript callback message property to a service operation response using JSONP.

System_CAPS_pubpropertyStatusCode

Gets or sets the HTTP status code.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

JSONP is a mechanism used to enable cross-site, scripting support in Web browsers.

System_CAPS_cautionCaution

Using cross-site scripting is inherently unsecure and its use is not generally recommended.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: