System.Uri.Uri C# (CSharp) Method

Uri() public method

public Uri ( Uri baseUri, string relativeUri ) : System.Runtime.InteropServices
baseUri Uri
relativeUri string
return System.Runtime.InteropServices
        public Uri(Uri baseUri, string relativeUri)
        {
            if ((object)baseUri == null)
                throw new ArgumentNullException(nameof(baseUri));

            if (!baseUri.IsAbsoluteUri)
                throw new ArgumentOutOfRangeException(nameof(baseUri));

            CreateUri(baseUri, relativeUri, false);
        }
#if netstandard10

Same methods

Uri::Uri ( Flags flags, UriParser uriParser, string uri ) : System.Globalization
Uri::Uri ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.Runtime.InteropServices
Uri::Uri ( Uri baseUri, Uri relativeUri ) : System.Runtime.InteropServices
Uri::Uri ( Uri baseUri, string relativeUri, bool dontEscape ) : System.Runtime.InteropServices
Uri::Uri ( string uriString ) : System.Runtime.InteropServices
Uri::Uri ( string uriString, UriKind uriKind ) : System.Runtime.InteropServices
Uri::Uri ( string uriString, bool dontEscape ) : System.Runtime.InteropServices