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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GeneralTransformGroup.cs
- AlphabeticalEnumConverter.cs
- ToolBarButton.cs
- ProxyHelper.cs
- PreservationFileWriter.cs
- SMSvcHost.cs
- ExpressionVisitor.cs
- HttpCapabilitiesSectionHandler.cs
- IgnoreSectionHandler.cs
- _TLSstream.cs
- URLIdentityPermission.cs
- ExcCanonicalXml.cs
- MappingException.cs
- TabItemAutomationPeer.cs
- AssociationTypeEmitter.cs
- TypeToken.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- InlineCollection.cs
- WorkflowQueue.cs
- NumberSubstitution.cs
- XhtmlBasicPanelAdapter.cs
- TextDecorationLocationValidation.cs
- FileDialogCustomPlacesCollection.cs
- SmtpNegotiateAuthenticationModule.cs
- TextProperties.cs
- LiteralControl.cs
- RegexEditorDialog.cs
- DataChangedEventManager.cs
- GroupLabel.cs
- DataGridHyperlinkColumn.cs
- DataGridColumnCollection.cs
- ConvertTextFrag.cs
- storagemappingitemcollection.viewdictionary.cs
- MemberAssignment.cs
- SqlTrackingQuery.cs
- PeerToPeerException.cs
- ResourceAttributes.cs
- RegexStringValidatorAttribute.cs
- StrongNameIdentityPermission.cs
- JulianCalendar.cs
- SystemIPGlobalStatistics.cs
- UnconditionalPolicy.cs
- HtmlSelect.cs
- XmlnsDictionary.cs
- PageCodeDomTreeGenerator.cs
- ListViewInsertEventArgs.cs
- DataColumnCollection.cs
- JsonByteArrayDataContract.cs
- MetadataWorkspace.cs
- ProfilePropertySettings.cs
- PrtCap_Public_Simple.cs
- SessionStateSection.cs
- Baml2006SchemaContext.cs
- AxisAngleRotation3D.cs
- FamilyTypefaceCollection.cs
- XmlSchemaNotation.cs
- HuffmanTree.cs
- SortExpressionBuilder.cs
- dbenumerator.cs
- SqlDataSourceEnumerator.cs
- HttpCookie.cs
- XLinq.cs
- JumpPath.cs
- ParameterModifier.cs
- CheckedListBox.cs
- EventEntry.cs
- remotingproxy.cs
- ComNativeDescriptor.cs
- Axis.cs
- OperationExecutionFault.cs
- SymbolPair.cs
- KeyTime.cs
- BehaviorDragDropEventArgs.cs
- InvokeDelegate.cs
- CheckBoxRenderer.cs
- AddInDeploymentState.cs
- FaultHandlingFilter.cs
- SignedXml.cs
- TouchesCapturedWithinProperty.cs
- GCHandleCookieTable.cs
- TemplatedWizardStep.cs
- Floater.cs
- TextEditorLists.cs
- FixedSOMTableCell.cs
- ReliabilityContractAttribute.cs
- SystemGatewayIPAddressInformation.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ActivityDesigner.cs
- LocatorBase.cs
- PropertyChangedEventArgs.cs
- SByteStorage.cs
- ItemList.cs
- WebPartEditorOkVerb.cs
- FileDetails.cs
- StateMachineWorkflow.cs
- QilVisitor.cs
- SafeWaitHandle.cs
- ActivityXamlServices.cs
- SqlNotificationEventArgs.cs
- AdCreatedEventArgs.cs