C# Класс DtaSpy.BizTalkTrackedMessagePart

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
BizTalkTrackedMessagePart ( BizTalkTrackingDb db, int spoolId, BizTalkFragment initialFragment ) : System
LoadFragments ( ) : IEnumerable

Описание методов

BizTalkTrackedMessagePart() публичный Метод

public BizTalkTrackedMessagePart ( ) : System
Результат System

BizTalkTrackedMessagePart() публичный Метод

public BizTalkTrackedMessagePart ( BizTalkTrackingDb db, int spoolId ) : System
db BizTalkTrackingDb
spoolId int
Результат System

WriteTo() публичный Метод

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
Результат int

WriteTo() публичный Метод

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. ///
Результат int