Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1305376 / CodeCatchClause.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 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. /// ///// // //----------------------------------------------------------------------------- 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 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
- GeneratedView.cs
- SchemaNamespaceManager.cs
- ConfigXmlWhitespace.cs
- KeyEvent.cs
- Clock.cs
- DataColumnMappingCollection.cs
- ResXDataNode.cs
- PackWebRequest.cs
- EncoderFallback.cs
- ToolStripMenuItem.cs
- PeerEndPoint.cs
- ElementMarkupObject.cs
- TimeStampChecker.cs
- MenuCommand.cs
- PrintController.cs
- AlternateViewCollection.cs
- QueryExecutionOption.cs
- EventEntry.cs
- GlobalizationSection.cs
- StructuralObject.cs
- SafeNativeMethods.cs
- OverrideMode.cs
- TextOutput.cs
- TextTreeNode.cs
- WebPartTransformerAttribute.cs
- TextElementEnumerator.cs
- RegexMatch.cs
- CounterSample.cs
- ContentHostHelper.cs
- SequenceDesigner.cs
- LineInfo.cs
- WinHttpWebProxyFinder.cs
- QuaternionAnimation.cs
- DefaultObjectSerializer.cs
- ClickablePoint.cs
- HandlerFactoryCache.cs
- IndentTextWriter.cs
- SqlCacheDependencyDatabase.cs
- ArrayEditor.cs
- SqlInternalConnection.cs
- BindingGraph.cs
- SecureConversationServiceCredential.cs
- Axis.cs
- EncoderExceptionFallback.cs
- ToolStripItem.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- IssuedTokenClientBehaviorsElement.cs
- MediaContextNotificationWindow.cs
- SamlAssertion.cs
- XmlDocumentSurrogate.cs
- BatchParser.cs
- DbUpdateCommandTree.cs
- InputReport.cs
- WebPartManagerInternals.cs
- FilteredAttributeCollection.cs
- AccessDataSourceView.cs
- FrameworkElementAutomationPeer.cs
- PropertyInformation.cs
- PopupEventArgs.cs
- DataBindingValueUIHandler.cs
- StylusShape.cs
- AssociationSetEnd.cs
- XsltCompileContext.cs
- MsmqOutputMessage.cs
- WindowShowOrOpenTracker.cs
- StylusShape.cs
- VectorAnimation.cs
- ToolStripTextBox.cs
- IODescriptionAttribute.cs
- StringDictionaryCodeDomSerializer.cs
- _PooledStream.cs
- basemetadatamappingvisitor.cs
- IIS7UserPrincipal.cs
- ColorConvertedBitmapExtension.cs
- MediaTimeline.cs
- TokenizerHelper.cs
- hebrewshape.cs
- MissingFieldException.cs
- ZoneButton.cs
- TrustSection.cs
- HttpRuntimeSection.cs
- AtlasWeb.Designer.cs
- SafeEventLogReadHandle.cs
- MarshalByValueComponent.cs
- BaseDataListDesigner.cs
- ColumnTypeConverter.cs
- HtmlWindowCollection.cs
- EventLogStatus.cs
- ContentFileHelper.cs
- WebPartEditVerb.cs
- TdsRecordBufferSetter.cs
- TransactionInformation.cs
- GlobalizationSection.cs
- TreeNodeBinding.cs
- TemplateControlCodeDomTreeGenerator.cs
- LineUtil.cs
- JsonEnumDataContract.cs
- IODescriptionAttribute.cs
- PrivilegeNotHeldException.cs
- WebPartConnectionsConnectVerb.cs