PublishException Constructor
See Also 
SourceCode.Workflow.Design.InfoPath Namespace > PublishException Class : PublishException Constructor



action
The action.
level
The level.
exception
The exception.

Glossary Item Box

Initializes a new instance of the PublishException class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal action As PublishAction, _
   ByVal level As PublishExceptionLevel, _
   ByVal exception As Exception _
)
Visual Basic (Usage)Copy Code
Dim action As PublishAction
Dim level As PublishExceptionLevel
Dim exception As Exception
 
Dim instance As New PublishException(action, level, exception)
C++/CLI 
public:
PublishException( 
   PublishAction action,
   PublishExceptionLevel level,
   Exception^ exception
)

Parameters

action
The action.
level
The level.
exception
The exception.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also