ProcessModelSection.ServerErrorMessageFile 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
심각한 오류가 발생하는 경우 해당 내용을 사용해야 하는 파일을 나타내는 값을 가져오거나 설정합니다.
public:
property System::String ^ ServerErrorMessageFile { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("serverErrorMessageFile", DefaultValue="")]
public string ServerErrorMessageFile { get; set; }
[<System.Configuration.ConfigurationProperty("serverErrorMessageFile", DefaultValue="")>]
member this.ServerErrorMessageFile : string with get, set
Public Property ServerErrorMessageFile As String
속성 값
심각한 오류가 발생하는 경우 사용되는 파일의 경로입니다.
- 특성
예제
다음 코드 예제에서는 ServerErrorMessageFile 속성을 사용하는 방법을 보여 줍니다.
// Get the current ServerErrorMessageFile property value.
string srvErrMsgFile =
processModelSection.ServerErrorMessageFile;
// Set the ServerErrorMessageFile property to
// "custommessages.log".
processModelSection.ServerErrorMessageFile =
"custommessages.log";
' Get the current ServerErrorMessageFile property value.
Dim srvErrMsgFile As String = _
processModelSection.ServerErrorMessageFile
' Set the ServerErrorMessageFile property to
' "custommessages.log".
processModelSection.ServerErrorMessageFile = _
"custommessages.log"
설명
기본 서버를 사용할 수 없는 메시지 대신 해당 콘텐츠를 사용 하는 파일입니다.
파일 위치는 상대 또는 절대 파일 경로 수 있습니다.