Share via


ODataMessageReaderSettings.BaseUri Property

Definition

Gets or sets the document base URI (used as base for all relative URIs). If this is set, it must be an absolute URI. ODataMessageReaderSettings.BaseUri may be deprecated in the future, please use ODataMessageReaderSettings.baseUri instead.

public Uri BaseUri { get; set; }
member this.BaseUri : Uri with get, set
Public Property BaseUri As Uri

Property Value

Uri

The base URI used in payload.

Remarks

This URI will be used in ATOM format only, it would be overridden by <xml:base /> element in ATOM payload. If the URI does not end with a slash, a slash would be appended automatically.

Applies to