Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1 / CodeCatchClause.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 CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the statements within the clause. /// ///// 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 CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the statements within the clause. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ClusterRegistryConfigurationProvider.cs
- AnnotationComponentChooser.cs
- DataTablePropertyDescriptor.cs
- TdsParserSessionPool.cs
- TextFragmentEngine.cs
- ColorKeyFrameCollection.cs
- OrderedDictionary.cs
- DataGrid.cs
- GotoExpression.cs
- DataGridAddNewRow.cs
- FindCriteriaCD1.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- TextStore.cs
- StorageMappingFragment.cs
- SendKeys.cs
- TraceSection.cs
- ColumnHeaderConverter.cs
- LineGeometry.cs
- EditorPartChrome.cs
- NavigationWindow.cs
- ExpressionVisitor.cs
- SqlVisitor.cs
- DecimalKeyFrameCollection.cs
- WebPartManagerInternals.cs
- SelectionBorderGlyph.cs
- DataViewManagerListItemTypeDescriptor.cs
- RenderCapability.cs
- CommittableTransaction.cs
- SolidColorBrush.cs
- SHA256Managed.cs
- PrintDialog.cs
- DataListCommandEventArgs.cs
- TextMetrics.cs
- CommentAction.cs
- MemoryPressure.cs
- MediaEntryAttribute.cs
- HostedElements.cs
- SoapHeaderException.cs
- ProtocolsConfiguration.cs
- Matrix3DStack.cs
- NumberSubstitution.cs
- TemplatePagerField.cs
- SelectionRange.cs
- InitializationEventAttribute.cs
- TabPage.cs
- RelationshipDetailsCollection.cs
- DataBindEngine.cs
- Transform3D.cs
- DocumentViewer.cs
- KeyValueConfigurationElement.cs
- JpegBitmapEncoder.cs
- HttpBufferlessInputStream.cs
- SynthesizerStateChangedEventArgs.cs
- ContextMenuService.cs
- SoapIgnoreAttribute.cs
- MethodImplAttribute.cs
- XmlSchemaAttribute.cs
- AuthStoreRoleProvider.cs
- Evidence.cs
- InkCanvasAutomationPeer.cs
- Literal.cs
- StoreContentChangedEventArgs.cs
- Font.cs
- assemblycache.cs
- HitTestDrawingContextWalker.cs
- ContextProperty.cs
- ManagementNamedValueCollection.cs
- printdlgexmarshaler.cs
- ThicknessConverter.cs
- LinkedResource.cs
- TextPenaltyModule.cs
- SamlAssertionKeyIdentifierClause.cs
- DefaultSection.cs
- OdbcReferenceCollection.cs
- ScriptControl.cs
- DataGridColumnDropSeparator.cs
- EditorZone.cs
- PlanCompilerUtil.cs
- DocumentPageView.cs
- HitTestResult.cs
- MemberAssignmentAnalysis.cs
- DeploymentSection.cs
- WindowsStartMenu.cs
- DelegateBodyWriter.cs
- TextElement.cs
- XmlSchemaFacet.cs
- mongolianshape.cs
- MsmqIntegrationProcessProtocolHandler.cs
- FloaterParaClient.cs
- IERequestCache.cs
- versioninfo.cs
- OdbcError.cs
- EmptyControlCollection.cs
- Point3DCollection.cs
- ExpressionValueEditor.cs
- SessionPageStatePersister.cs
- CodeLabeledStatement.cs
- X509Chain.cs
- HandleCollector.cs
- TextSchema.cs