User Tools

Site Tools


thinkgeo.mapsuite.silverlightcore.transactionresult

ThinkGeo.MapSuite.SilverlightCore.TransactionResult

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class represents the results of a transaction that was processed.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.SilverlightCore.TransactionResult

Members Summary

Public Constructors

TransactionResult()

  • This is the class constructor.
Remarks
  • This is the default constructor and is typically not used.
Parameters

TransactionResult(Int32,Int32,Dictionary<String,String>,TransactionResultStatus)

  • N/A
Remarks
  • N/A
Parameters
  • totalSuccessCount
    • Type:Int32
    • Description:N/A
  • totalFailureCount
    • Type:Int32
    • Description:N/A
  • failureReasons
    • Type:Dictionary<String,String>
    • Description:N/A

Protected Constructors

Public Methods

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

TotalSuccessCount

This property gets and sets the total number of records that we committed successfully.

Remarks

None

Return Value
  • Type:Int32

TotalFailureCount

This property gets and sets the total number of records that we committed unsuccessfully.

Remarks

None

Return Value
  • Type:Int32

TransactionResultStatus

This property gets and sets the result status of the transaction.

Remarks

This property returns the results of the transaction. If all of the records committed fine then you get a success status. If any of the records fail then you get a failure status though some of the records may have committed.

Return Value

FailureReasons

This property gets and sets the dictionary that contains the reasons for failure.

Remarks

If there are failing records we suggest you add the failure reasons to this dictionary. It is also suggested that you use the FeatureId as the key of the Dictionary.

Return Value
  • Type:Dictionary<String,String>

Protected Properties

Public Events

thinkgeo.mapsuite.silverlightcore.transactionresult.txt · Last modified: 2017/03/16 21:59 (external edit)