Namespace: WebDAVSharp.Server
Assembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
The most specific Uri for the given uri.
Assembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- uri
- Type: System Uri
The Uri to find the most specific prefix Uri for.
- server
- Type: WebDAVSharp.Server WebDavServer
The WebDavServer that hosts the WebDAV server and holds the collection of known prefixes.
Return Value
Type: UriThe most specific Uri for the given uri.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Uri. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Exceptions
Exception | Condition |
---|---|
WebDavInternalServerException | Unable to find correct server root |
WebDavInternalServerException | uri specifies a Uri that is not known to the server. |
See Also