System.Runtime.Remoting.RemotingConfiguration.ConfigHandler.OnStartElement C# (CSharp) Method

OnStartElement() public method

public OnStartElement ( string name, Mono.Xml.SmallXmlParser attrs ) : void
name string
attrs Mono.Xml.SmallXmlParser
return void
		public void OnStartElement (string name, SmallXmlParser.IAttrList attrs)
		{
			try
			{
				if (currentXmlPath.StartsWith ("/configuration/system.runtime.remoting"))
					ParseElement (name, attrs);
					
				currentXmlPath += "/" + name;
			}
			catch (Exception ex)
			{
				throw new RemotingException ("Error in element " + name + ": " + ex.Message, ex);
			}
		}