Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- InlineCollection.cs
- RC2CryptoServiceProvider.cs
- ChtmlCalendarAdapter.cs
- EmptyCollection.cs
- StrokeIntersection.cs
- ConfigurationValidatorAttribute.cs
- RawMouseInputReport.cs
- XmlWriterTraceListener.cs
- OptionalRstParameters.cs
- CompModSwitches.cs
- BitmapMetadataBlob.cs
- CompositeActivityMarkupSerializer.cs
- StrongNameUtility.cs
- SqlUtils.cs
- TransformConverter.cs
- Page.cs
- XmlAnyAttributeAttribute.cs
- BindingExpression.cs
- XmlSerializerAssemblyAttribute.cs
- PopupRootAutomationPeer.cs
- ComponentSerializationService.cs
- CalendarButtonAutomationPeer.cs
- sqlstateclientmanager.cs
- InternalBase.cs
- Axis.cs
- ListViewDataItem.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- WebPartDeleteVerb.cs
- oledbconnectionstring.cs
- IntSumAggregationOperator.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SafeNativeMethods.cs
- Reference.cs
- TableRowCollection.cs
- SecurityException.cs
- SQLInt64Storage.cs
- InternalSafeNativeMethods.cs
- TableLayoutPanelBehavior.cs
- SecuritySessionSecurityTokenProvider.cs
- StorageMappingItemCollection.cs
- UnsafeNativeMethods.cs
- FilteredXmlReader.cs
- ClipboardData.cs
- MetadataItem_Static.cs
- DataTableClearEvent.cs
- SafeSecurityHelper.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- BaseCodePageEncoding.cs
- ObjectDataProvider.cs
- FontDriver.cs
- ConstraintConverter.cs
- MsmqInputChannelListenerBase.cs
- UnsignedPublishLicense.cs
- DetectEofStream.cs
- PropertyEmitterBase.cs
- DataGridViewColumn.cs
- KeyedPriorityQueue.cs
- GlyphRunDrawing.cs
- InputReportEventArgs.cs
- RuntimeResourceSet.cs
- BoolExpression.cs
- FixedPage.cs
- RecordConverter.cs
- RoutedEventValueSerializer.cs
- ReturnValue.cs
- CompletionCallbackWrapper.cs
- SingleAnimation.cs
- OrderPreservingMergeHelper.cs
- PolyBezierSegmentFigureLogic.cs
- CodeDOMUtility.cs
- ExpressionPrefixAttribute.cs
- EllipticalNodeOperations.cs
- NamedObject.cs
- KerberosRequestorSecurityToken.cs
- DataTableCollection.cs
- DbReferenceCollection.cs
- CryptoHelper.cs
- WeakEventTable.cs
- FileRecordSequenceCompletedAsyncResult.cs
- ScrollProperties.cs
- HWStack.cs
- BitmapVisualManager.cs
- BinaryWriter.cs
- FlowDocumentScrollViewer.cs
- DrawToolTipEventArgs.cs
- XmlQueryStaticData.cs
- DivideByZeroException.cs
- WindowsScrollBar.cs
- DataBoundLiteralControl.cs
- BindingCompleteEventArgs.cs
- DrawingContextWalker.cs
- KeyNotFoundException.cs
- VisualStyleRenderer.cs
- Range.cs
- CustomValidator.cs
- HMAC.cs
- DesignerUtils.cs
- XmlSchemaParticle.cs
- SmtpNegotiateAuthenticationModule.cs
- PartialList.cs