FileAttachmentException Constructor (String, Attachment, Exception)
Initializes a new FileAttachmentException instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'宣告
Public Sub New ( _
message As String, _
attachment As Attachment, _
innerException As Exception _
)
public FileAttachmentException(
string message,
Attachment attachment,
Exception innerException
)
public:
FileAttachmentException(
String^ message,
Attachment^ attachment,
Exception^ innerException
)
new :
message:string *
attachment:Attachment *
innerException:Exception -> FileAttachmentException
public function FileAttachmentException(
message : String,
attachment : Attachment,
innerException : Exception
)
Parameters
- message
Type: System.String
The message for the exception.
- attachment
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Attachment
The attachment object that caused this error.
- innerException
Type: System.Exception
The exception to encapsulate.
.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.