UserActionEventArgs Constructor
ctor to create an event args for notifying the user.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
fileName As String, _
cause As ExportUserAction _
)
public UserActionEventArgs(
string fileName,
ExportUserAction cause
)
public:
UserActionEventArgs(
String^ fileName,
ExportUserAction cause
)
new :
fileName:string *
cause:ExportUserAction -> UserActionEventArgs
public function UserActionEventArgs(
fileName : String,
cause : ExportUserAction
)
Parameters
- fileName
Type: System.String
file name which requires the user action
- cause
Type: Microsoft.VisualStudio.Modeling.Shell.ExportUserAction
The cause of the problem
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.