ChannelProtectionRequirements.MakeReadOnly 方法

定义

将该类及其部分集合设置为只读。Sets this class and its part collections to read-only.

public:
 void MakeReadOnly();
public void MakeReadOnly ();
member this.MakeReadOnly : unit -> unit
Public Sub MakeReadOnly ()

注解

IsReadOnly 设置为 true,部分集合上的相应属性同样如此。IsReadOnly is set to true, as are the corresponding properties on the parts collections.

适用于