C# Class DtaSpy.BizTalkTrackedMessagePart

Datei anzeigen Open project: niik/DtaSpy Class Usage Examples

Public Methods

Method Description
BizTalkTrackedMessagePart ( ) : System
BizTalkTrackedMessagePart ( BizTalkTrackingDb db, int spoolId ) : System
WriteTo ( Stream s ) : int

Writes the decoded contents of all fragments to the given stream while caching loaded fragments for future access. Not caching improves memory usage and may improve performance so if you're never going to access the fragments after this call, please use the overload which allows you to specify whether to cache or not.

WriteTo ( Stream s, bool cacheFragments ) : int

Writes the decoded contents of all fragments to the given stream, optionally caching loaded fragments for future access. Not caching improves memory usage and may improve performance. Don't cache if you're never going to access the fragments after. Caching has no effect if fragments already have been loaded for this message part.

Private Methods

Method Description
BizTalkTrackedMessagePart ( BizTalkTrackingDb db, int spoolId, BizTalkFragment initialFragment ) : System
LoadFragments ( ) : IEnumerable

Method Details

BizTalkTrackedMessagePart() public method

public BizTalkTrackedMessagePart ( ) : System
return System

BizTalkTrackedMessagePart() public method

public BizTalkTrackedMessagePart ( BizTalkTrackingDb db, int spoolId ) : System
db BizTalkTrackingDb
spoolId int
return System

WriteTo() public method

Writes the decoded contents of all fragments to the given stream while caching loaded fragments for future access. Not caching improves memory usage and may improve performance so if you're never going to access the fragments after this call, please use the overload which allows you to specify whether to cache or not.
public WriteTo ( Stream s ) : int
s Stream
return int

WriteTo() public method

Writes the decoded contents of all fragments to the given stream, optionally caching loaded fragments for future access. Not caching improves memory usage and may improve performance. Don't cache if you're never going to access the fragments after. Caching has no effect if fragments already have been loaded for this message part.
public WriteTo ( Stream s, bool cacheFragments ) : int
s Stream The s.
cacheFragments bool /// if set to true cache fragments for future access /// via the Fragments property. ///
return int