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
'Declaration
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.StringThe message for the exception.
attachment
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.AttachmentThe attachment object that caused this error.
innerException
Type: System.ExceptionThe 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.