Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeThrowExceptionStatement.cs / 1 / CodeThrowExceptionStatement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeThrowExceptionStatement : CodeStatement { private CodeExpression toThrow; ////// Represents /// a statement that throws an exception. /// ////// public CodeThrowExceptionStatement() { } ////// Initializes a new instance of ///. /// /// public CodeThrowExceptionStatement(CodeExpression toThrow) { ToThrow = toThrow; } ////// Initializes a new instance of ///using the specified statement. /// /// public CodeExpression ToThrow { get { return toThrow; } set { toThrow = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the expression to throw. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeThrowExceptionStatement : CodeStatement { private CodeExpression toThrow; ////// Represents /// a statement that throws an exception. /// ////// public CodeThrowExceptionStatement() { } ////// Initializes a new instance of ///. /// /// public CodeThrowExceptionStatement(CodeExpression toThrow) { ToThrow = toThrow; } ////// Initializes a new instance of ///using the specified statement. /// /// public CodeExpression ToThrow { get { return toThrow; } set { toThrow = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets /// the expression to throw. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AuditLogLocation.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- DataGridLinkButton.cs
- ComponentSerializationService.cs
- KeyToListMap.cs
- ObjectConverter.cs
- LoginView.cs
- ManagementScope.cs
- ProcessingInstructionAction.cs
- Formatter.cs
- ToolStrip.cs
- Internal.cs
- ListViewItem.cs
- SqlTriggerAttribute.cs
- XmlSchemaAny.cs
- SectionXmlInfo.cs
- UmAlQuraCalendar.cs
- ClientBuildManagerCallback.cs
- AlphaSortedEnumConverter.cs
- _ScatterGatherBuffers.cs
- documentsequencetextpointer.cs
- PowerStatus.cs
- FileSystemInfo.cs
- SymbolUsageManager.cs
- ClientRuntimeConfig.cs
- URI.cs
- loginstatus.cs
- SafeIUnknown.cs
- FunctionMappingTranslator.cs
- CellIdBoolean.cs
- ConditionalExpression.cs
- ControlIdConverter.cs
- PreviewControlDesigner.cs
- PromptEventArgs.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- SimpleTextLine.cs
- ColorAnimation.cs
- OpenFileDialog.cs
- EntityViewGenerationConstants.cs
- UniqueConstraint.cs
- DataGridViewColumnEventArgs.cs
- storepermission.cs
- ModifierKeysValueSerializer.cs
- NavigationWindowAutomationPeer.cs
- JavaScriptObjectDeserializer.cs
- MediaSystem.cs
- SqlStream.cs
- FileUpload.cs
- BaseCodeDomTreeGenerator.cs
- SwitchAttribute.cs
- safemediahandle.cs
- GZipDecoder.cs
- CodeChecksumPragma.cs
- followingsibling.cs
- LoginView.cs
- NestedContainer.cs
- EventProperty.cs
- TextElementEnumerator.cs
- WebPartUserCapability.cs
- QueueNameHelper.cs
- PrinterUnitConvert.cs
- ModelItem.cs
- WebPartEditorCancelVerb.cs
- ActivityInterfaces.cs
- MULTI_QI.cs
- UTF8Encoding.cs
- CqlLexer.cs
- XmlILCommand.cs
- Blend.cs
- PropertyCondition.cs
- DrawingVisualDrawingContext.cs
- ProxyWebPartConnectionCollection.cs
- WebBrowserUriTypeConverter.cs
- TransactionManager.cs
- WeakHashtable.cs
- ForeignKeyConstraint.cs
- DesignDataSource.cs
- Knowncolors.cs
- WithParamAction.cs
- StandardCommands.cs
- SelectedDatesCollection.cs
- DataSourceSelectArguments.cs
- SchemaMerger.cs
- FixUpCollection.cs
- SessionStateSection.cs
- DnsEndPoint.cs
- storepermission.cs
- SessionEndingCancelEventArgs.cs
- XmlSchemaValidationException.cs
- PlatformNotSupportedException.cs
- SqlClientFactory.cs
- SuppressIldasmAttribute.cs
- Compiler.cs
- XamlParser.cs
- StreamReader.cs
- StrongNameMembershipCondition.cs
- HashCodeCombiner.cs
- BaseUriHelper.cs
- XhtmlTextWriter.cs
- Pkcs9Attribute.cs