Share via


DispatchRuntime.UnhandledDispatchOperation Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the operation to which unrecognized messages are dispatched.

Namespace:  System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Syntax

'Declaration
Public Property UnhandledDispatchOperation As DispatchOperation
public DispatchOperation UnhandledDispatchOperation { get; set; }

Property Value

Type: System.ServiceModel.Dispatcher.DispatchOperation
The DispatchOperation to which unrecognized messages are dispatched.

Exceptions

Exception Condition
ArgumentNullException

value set is nulla null reference (Nothing in Visual Basic).

Remarks

The operation returned by the UnhandledDispatchOperation is the operation indicated by the use of the "*" (asterisk) in the Action property.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.