MethodResult Class

This class holds the result information for a call to a method as described in a MethodDefinition for an Connector.

Inheritance Hierarchy

System Object

  Scribe.Core.ConnectorApi.Actions MethodResult

Namespace:  Scribe.Core.ConnectorApi.Actions
Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

[DataContractAttribute]
[KnownTypeAttribute(typeof(DataEntity))]
[KnownTypeAttribute(typeof(ErrorResult))]
public class MethodResult

The MethodResult type exposes the following members.

Constructors

 

Name

Description

Public method

MethodResult

Initializes a new instance of the MethodResult class.

Properties

 

Name

Description

Public property

ErrorInfo

This property references any error information based on a failed method execution.

Public property

Return

This property references any returned DataEntity as described in the MethodDefinition.

Public property

Success

This property holds whether the method succeeded or failed.

Methods

 

Name

Description

Public method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

See

Scribe.Core.ConnectorApi.Actions Namespace