#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.5 KiB

<?xml version="1.0"?>
<Template author="Siegfried Pammer" version="1.0.0">
<Config
name = "${res:Templates.File.Exception.Name}"
icon = "VB.File.NewClass"
category = "VB"
defaultname = "Exception.vb"
language = "VBNet"/>
<Description>${res:Templates.File.Exception.Description}</Description>
<!--
Special new file templates:
${StandardNamespace} -> Standardnamespace of the current project or FileNameWithoutExtension
${FullName} -> Full generated path name
${FileName} -> File name with extension
${FileNameWithoutExtension} -> File name without extension
${Extension} -> Extension in the form ".vb"
${Path} -> Full path of the file
-->
<Files>
<File name="${FullName}" language="VBNET"><![CDATA[${StandardHeader.VBNET}
Imports System
Imports System.Runtime.Serialization
Namespace ${StandardNamespace}
''' <summary>
''' Desctiption of ${ClassName}.
''' </summary>
Public Class ${ClassName}
Inherits Exception
Implements ISerializable
Public Sub New()
End Sub
Public Sub New(message As String)
MyBase.New(message)
End Sub
Public Sub New(message As String, innerException As Exception)
MyBase.New(message, innerException)
End Sub
' This constructor is needed for serialization.
Protected Sub New(info As SerializationInfo, context As StreamingContext)
MyBase.New(info, context)
End Sub
End Class
End Namespace]]></File>
</Files>
<AdditionalOptions/>
</Template>