Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected internal XmlElement(
- string prefix,
- string localName,
- string namespaceURI,
- XmlDocument doc
- )
- $doc = new-object System.Xml.XmlDocument
- $e = New-Object System.Xml.XmlElement -ArgumentList "foo","bar","baz",$doc
- New-Object : A constructor was not found. Cannot find an appropriate constructor for type System.Xml.XmlElement.
- At line:1 char:6
- + $e = New-Object System.Xml.XmlElement -ArgumentList "foo","bar","baz",$doc
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (:) [New-Object], PSArgumentException
- + FullyQualifiedErrorId : CannotFindAppropriateCtor,Microsoft.PowerShell.Commands.NewObjectCommand
- ([type]"System.Xml.XmlElement").GetConstructors()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement