Mono Class Library: System.Net.WebPermissionAttribute Overview | Members

System.Net.WebPermissionAttribute.Accept Property

Gets or sets the URI accepted by the current instance.

public string Accept { set; get; }

Value

A string that represents the URI accepted by the current instance.

Exceptions

TypeReason
ArgumentExceptionWebPermissionAttribute.Acceptis being set and is not null.

Remarks

This property is write-once. Once this property has been set to a non-null value, attempts to set this property to new value cause a ArgumentException .

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0