简体   繁体   中英

No constructor defined error biztalk server

I am creating a pipeline component using .net class library Where I want to pass an HTML document as a input and get a XMLdocument as output,

I am getting an error in this line

HtmlDocument OrgDoc= new HtmlDocument

The error is no constructor for HTML document do I miss some reference if yes what it that. Actually I am using system.windows.forms.htmldocument.

Any suggestions to rectify the error is welcomed.

BizTalk is correct; System.Windows.Forms.HtmlDocument has no public constructors. It is intended to be used via the WebBrowser control only (to represent the DOM), and I don't recommend trying to do that on a server. If you are trying to parse HTML, try using the Html Agility Pack instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM