Class ServiceInvocationException
Indicates an error during Grid Services invocation.
Implements
Inherited Members
Namespace: Apache.Ignite.Core.Services
Assembly: Apache.Ignite.Core.dll
Syntax
[Serializable]
public class ServiceInvocationException : IgniteException, ISerializable, _Exception
Constructors
ServiceInvocationException()
Initializes a new instance of the ServiceInvocationException class.
Declaration
public ServiceInvocationException()
ServiceInvocationException(SerializationInfo, StreamingContext)
Initializes a new instance of the IgniteException class.
Declaration
protected ServiceInvocationException(SerializationInfo info, StreamingContext ctx)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | Serialization information. |
System.Runtime.Serialization.StreamingContext | ctx | Streaming context. |
ServiceInvocationException(String)
Initializes a new instance of the ServiceInvocationException class.
Declaration
public ServiceInvocationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
ServiceInvocationException(String, IBinaryObject)
Initializes a new instance of the ServiceInvocationException class.
Declaration
public ServiceInvocationException(string message, IBinaryObject binaryCause)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
IBinaryObject | binaryCause | The binary cause. |
ServiceInvocationException(String, Exception)
Initializes a new instance of the ServiceInvocationException class.
Declaration
public ServiceInvocationException(string message, Exception cause)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Exception | cause | The cause. |
Properties
BinaryCause
Gets the binary cause.
Declaration
public IBinaryObject BinaryCause { get; }
Property Value
Type | Description |
---|---|
IBinaryObject |
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |