OperationException Class
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
This exception that is thrown by generated domain service proxies when errors are encountered during invocation of domain service operations.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.ServiceModel.DomainServices.Hosting.Local.OperationException
Namespace: Microsoft.ServiceModel.DomainServices.Hosting.Local
Assembly: System.ServiceModel.DomainServices.Hosting.OData (in System.ServiceModel.DomainServices.Hosting.OData.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class OperationException _
Inherits Exception
'Usage
Dim instance As OperationException
[SerializableAttribute]
public sealed class OperationException : Exception
[SerializableAttribute]
public ref class OperationException sealed : public Exception
[<SealedAttribute>]
[<SerializableAttribute>]
type OperationException =
class
inherit Exception
end
public final class OperationException extends Exception
The OperationException type exposes the following members.
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
OperationErrors | Gets a collection of ValidationResultInfo objects associated with this exception. | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top
Remarks
This class is only available in the WCF RIA Services Toolkit. You can download the toolkit from the WCF RIA Services download site.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.ServiceModel.DomainServices.Hosting.Local Namespace