Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeThrowExceptionStatement.cs / 1305376 / CodeThrowExceptionStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- KeyNotFoundException.cs
- FunctionDescription.cs
- TypeToStringValueConverter.cs
- DocumentViewerBase.cs
- glyphs.cs
- XmlnsPrefixAttribute.cs
- StrokeNodeEnumerator.cs
- RegexParser.cs
- ConfigurationValues.cs
- HttpCacheVaryByContentEncodings.cs
- MimeXmlReflector.cs
- ErrorProvider.cs
- ParameterBuilder.cs
- TranslateTransform.cs
- FixedDocument.cs
- DispatchWrapper.cs
- SemanticValue.cs
- ChangeTracker.cs
- Visual.cs
- TimelineClockCollection.cs
- TreeWalker.cs
- JsonDeserializer.cs
- SortableBindingList.cs
- StructuredType.cs
- ExpandedWrapper.cs
- Control.cs
- CapabilitiesPattern.cs
- TextProperties.cs
- XmlSchemaAnnotation.cs
- SapiAttributeParser.cs
- ClaimSet.cs
- CodeDomSerializerBase.cs
- typedescriptorpermission.cs
- EntitySqlQueryCacheEntry.cs
- QilXmlWriter.cs
- EventData.cs
- DbConnectionFactory.cs
- LayoutTableCell.cs
- MetricEntry.cs
- SQLBytesStorage.cs
- ObjectMaterializedEventArgs.cs
- _ConnectionGroup.cs
- SessionKeyExpiredException.cs
- _SSPISessionCache.cs
- PropertyDescriptor.cs
- XDRSchema.cs
- RelationshipConstraintValidator.cs
- ConfigXmlAttribute.cs
- SoapObjectReader.cs
- AttributeUsageAttribute.cs
- ObjectResult.cs
- WsatExtendedInformation.cs
- Pens.cs
- SystemIPInterfaceStatistics.cs
- PolyQuadraticBezierSegment.cs
- ConditionalDesigner.cs
- WebPartDescription.cs
- PermissionSetTriple.cs
- DiagnosticTraceRecords.cs
- ArrayWithOffset.cs
- PageClientProxyGenerator.cs
- DataGridViewCellMouseEventArgs.cs
- ShaderEffect.cs
- DomainConstraint.cs
- HandlerFactoryWrapper.cs
- WizardForm.cs
- DataTrigger.cs
- ResXResourceReader.cs
- FrugalMap.cs
- SystemColors.cs
- ContainerUtilities.cs
- ResourceDictionaryCollection.cs
- Attributes.cs
- SqlInternalConnectionSmi.cs
- ToolStripArrowRenderEventArgs.cs
- Rect.cs
- ListViewAutomationPeer.cs
- DoWhileDesigner.xaml.cs
- ConnectionOrientedTransportElement.cs
- ConditionBrowserDialog.cs
- EventMap.cs
- SimpleTextLine.cs
- MarkupObject.cs
- ProgramNode.cs
- XamlSerializerUtil.cs
- ListItemConverter.cs
- DatagramAdapter.cs
- PreDigestedSignedInfo.cs
- _IPv6Address.cs
- FileInfo.cs
- SemaphoreFullException.cs
- MessageVersion.cs
- DesignerToolStripControlHost.cs
- RegexFCD.cs
- SymbolDocumentInfo.cs
- PresentationAppDomainManager.cs
- Path.cs
- DispatcherProcessingDisabled.cs
- RegexWorker.cs
- TabItemWrapperAutomationPeer.cs