CompilerResults::NativeCompilerReturnValue Property

 

Gets or sets the compiler's return value.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

public:
property int NativeCompilerReturnValue {
	int get();
	[PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")]
	void set(int value);
}

Property Value

Type: System::Int32

The compiler's return value.

This property contains the numeric exit code returned by a command line compiler, if implemented. A value of 0 indicates success, while a non-zero value indicates failure.

SecurityAction::LinkDemand

for full trust for the immediate caller. This member cannot be used by partially trusted code.

.NET Framework
Available since 1.1
Return to top
Show: